attempt to get rid of some of the useless messages on program exit
[spider.git] / perl / client.pl
index 4a4069f07313c0a6d567bbb14a90e76eb499224d..c6f5bd2806c12d0ad0359af074fbf132cc7821ed 100755 (executable)
@@ -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);        
 }