From dfff255d7c9a8c2290042db5b5b80afa72ecc3ec Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 6 Jun 2003 10:18:23 +0000 Subject: Exit immediatly after the current running task, even if we have a backlog --- pingd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pingd') diff --git a/pingd b/pingd index ca4a608..6c6be18 100755 --- a/pingd +++ b/pingd @@ -3,7 +3,7 @@ $| = 1; # (c) 2002, 2003 Peter Palfrader -# $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"); -- cgit v1.2.3