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