summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xemergencyd.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/emergencyd.pl b/emergencyd.pl
index e1d1189..fe21de6 100755
--- a/emergencyd.pl
+++ b/emergencyd.pl
@@ -114,6 +114,8 @@ if ( $opts{f} ) {
print "$childpid\n";
exit 0;
}
+ close STDOUT;
+ close STDERR;
POSIX::setsid;
}