X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshutdown.pl;h=cfed8d400ad5e2741f765c7aaa0dd71e2b771950;hb=d17f05b19fac36a0a8a2f828912a1a7ebefae79f;hp=1a5a5663ec2d426773ce47ed713e060a687056d9;hpb=df3ec97bdbac858d3ba8cc1d78e8bd0bb4f6ea84;p=spider.git diff --git a/cmd/shutdown.pl b/cmd/shutdown.pl index 1a5a5663..cfed8d40 100644 --- a/cmd/shutdown.pl +++ b/cmd/shutdown.pl @@ -1,7 +1,7 @@ # # the shutdown command # -# $Id$ +# # my $self = shift; my $call = $self->call; @@ -12,6 +12,6 @@ foreach $ref (DXChannel::get_all()) { } # give some time for the buffers to empty and then shutdown (see cluster.pl) -$main::decease = 25; +$main::decease->send; return (1);