X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshutdown.pl;h=d90cfeeafe90cb384d141d7c4ff3b9beb585b372;hb=refs%2Fheads%2Fstaging;hp=1bcbcb70ce845341287ed38022d99893119ff357;hpb=6b904a6db275029dd6d7a5cf0a48c1f0770ea8c2;p=spider.git diff --git a/cmd/shutdown.pl b/cmd/shutdown.pl index 1bcbcb70..d90cfeea 100644 --- a/cmd/shutdown.pl +++ b/cmd/shutdown.pl @@ -11,6 +11,6 @@ foreach $ref (DXChannel::get_all()) { $ref->send($self->msg('shutting')) if $ref->is_user; } -main::cease(); +$main::ending = 10; return (1);