X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fclient.pl;h=c6f5bd2806c12d0ad0359af074fbf132cc7821ed;hb=5ff2fd1ff97212e4e490107d69f25572b71d2409;hp=4a4069f07313c0a6d567bbb14a90e76eb499224d;hpb=ae8b40244a552256fd35720e40b4ef0e14df55f1;p=spider.git diff --git a/perl/client.pl b/perl/client.pl index 4a4069f0..c6f5bd28 100755 --- a/perl/client.pl +++ b/perl/client.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # # A thing that implements dxcluster 'protocol' # @@ -59,6 +59,7 @@ sub cease dbg('connect', "killing $pid"); kill(9, $pid); } + dbgclose(); sleep(1); exit(0); }