diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-06-06 10:18:23 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-06-06 10:18:23 +0000 |
commit | dfff255d7c9a8c2290042db5b5b80afa72ecc3ec (patch) | |
tree | 551a2bb1c1dfc226a2bae5e1eabba755990cbc0b /pingd | |
parent | 2a9c5fec96aeb235b7fa848ecc36aee51932f756 (diff) |
Exit immediatly after the current running task, even if we have a backlog
Diffstat (limited to 'pingd')
-rwxr-xr-x | pingd | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ $| = 1; # (c) 2002, 2003 Peter Palfrader <peter@palfrader.org> -# $Id: pingd,v 1.105 2003/06/06 10:15:02 weasel Exp $ +# $Id: pingd,v 1.106 2003/06/06 10:18:23 weasel Exp $ # =pod @@ -338,15 +338,15 @@ sub setSigHandlers() { }; $SIG{'INT'} = sub { Echolot::Log::info("Got SIGINT. scheduling exit."); - Echolot::Globals::get()->{'scheduler'}->schedule('exit', 0, time() ); + Echolot::Globals::get()->{'scheduler'}->schedule('exit', 0, 0 ); }; $SIG{'QUIT'} = sub { Echolot::Log::info("Got SIGQUIT. scheduling exit."); - Echolot::Globals::get()->{'scheduler'}->schedule('exit', 0, time() ); + Echolot::Globals::get()->{'scheduler'}->schedule('exit', 0, 0) ); }; $SIG{'TERM'} = sub { Echolot::Log::info("Got SIGTERM. scheduling exit."); - Echolot::Globals::get()->{'scheduler'}->schedule('exit', 0, time() ); + Echolot::Globals::get()->{'scheduler'}->schedule('exit', 0, 0) ); }; $SIG{'PIPE'} = sub { Echolot::Log::error("Got SIGPIPE"); |