]> diplodocus.org Git - flac-archive/blobdiff - fa-flacd
(newjob): Should be setting $SIG{CHLD} to 'DEFAULT', not 'IGNORE'.
[flac-archive] / fa-flacd
index 3c36372..063147b 100755 (executable)
--- a/fa-flacd
+++ b/fa-flacd
@@ -152,7 +152,7 @@ sub newjob {
     }
 
     if ($debug or $pid == 0) {
-        $SIG{CHLD} = 'IGNORE';
+        $SIG{CHLD} = 'DEFAULT';
         open(STDERR, ">$dir/log") or die("open(STDERR, >$dir/log): $!");
         exit(flac($dir));
     }