summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-07-25 07:56:46 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-07-25 07:56:46 +0200
commit31ee5f8285215545e9de4c5cc0ea169832b5390e (patch)
treedb0cba3a9798e2ded457a5ad36a4259cc0df2a5c /htdocs
parentcad5654594f4ff6865795809376d19e15272cd5b (diff)
downloadsmokeping-31ee5f8285215545e9de4c5cc0ea169832b5390e.tar.gz
smokeping-31ee5f8285215545e9de4c5cc0ea169832b5390e.tar.xz
autoreap zombies
Diffstat (limited to 'htdocs')
-rwxr-xr-xhtdocs/smokeping.cgi.dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/htdocs/smokeping.cgi.dist b/htdocs/smokeping.cgi.dist
index f6d9f34..4f2b38b 100755
--- a/htdocs/smokeping.cgi.dist
+++ b/htdocs/smokeping.cgi.dist
@@ -7,6 +7,9 @@ use warnings;
use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib);
+# don't bother with zombies
+$SIG{CHLD} = 'IGNORE';
+
use CGI::Carp qw(fatalsToBrowser);
use Smokeping 2.004002;