diff options
-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"); |