Permalink
Browse files

Use TERM, kill process group on exit.

  • Loading branch information...
1 parent afd8d80 commit 649d35f044067336b5c0d4bf4705cee8c0b8636a @greensnark greensnark committed Nov 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 henzell.pl
View
@@ -10,7 +10,7 @@
use Getopt::Long;
END {
- kill 0;
+ kill TERM => -$$;
}
my $daemon = 1;

0 comments on commit 649d35f

Please sign in to comment.