From: djk Date: Wed, 24 Nov 1999 15:40:21 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: R_1_36~3 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=09c40605dd6922b1ac8d08767614697f51e094b2;p=spider.git *** empty log message *** --- diff --git a/perl/client.pl b/perl/client.pl index 84ab5d53..0199084f 100755 --- a/perl/client.pl +++ b/perl/client.pl @@ -358,7 +358,7 @@ $stdout->autoflush(1); $SIG{'INT'} = \&sig_term; $SIG{'TERM'} = \&sig_term; -$SIG{'HUP'} = 'IGNORE'; +$SIG{'HUP'} = \&sig_term; $SIG{'CHLD'} = \&sig_chld; $SIG{'ALRM'} = \&timeout; diff --git a/perl/console.pl b/perl/console.pl index 1b390bdc..bfd7700d 100755 --- a/perl/console.pl +++ b/perl/console.pl @@ -426,7 +426,7 @@ if (! $conn) { $SIG{'INT'} = \&sig_term; $SIG{'TERM'} = \&sig_term; #$SIG{'WINCH'} = \&do_resize; -$SIG{'HUP'} = 'IGNORE'; +$SIG{'HUP'} = \&sig_term; do_initscr();