X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=8645dbd9dd2e81ad467429124f4cc0c0c9f9fc8d;hb=917f7586cf60e96e07233c72b9854d754638f253;hp=9eba29c16ec7de16f68d52e09f8a8d0983eedae3;hpb=70fdef0395640e4bfcfef08bc9a59d3a6b1f7bd9;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 9eba29c1..8645dbd9 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -334,6 +334,10 @@ sub AGWrestart $starttime = $systime = time; $lang = 'en' unless $lang; +unless ($DB::VERSION) { + $SIG{INT} = $SIG{TERM} = \&cease; +} + # open the debug file, set various FHs to be unbuffered dbginit(\&DXCommandmode::broadcast_debug); foreach (@debug) {