perl: use sub {} instead of 'DEFAULT' for CHLD
commit370d2409d86488d782ba23d58742bbf6b7d40176
authorKyle J. McKay <mackyle@gmail.com>
Sun, 27 Dec 2015 06:49:21 +0000 (26 22:49 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 27 Dec 2015 06:49:21 +0000 (26 22:49 -0800)
tree66fe6621d1f3029020c6beb4f2974e589401dc98
parent2d7bb44056ce58c53cc768c4c35db77acde21cf8
perl: use sub {} instead of 'DEFAULT' for CHLD

On rare occasions, the following can occur:

  SIGCHLD handler "DEFAULT" not defined.

Avoid this by setting CHLD to sub {} instead of 'DEFAULT' since
the default action for CHLD is to discard the signal.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/extra/capture_command.pl
taskd/taskd.pl