summaryrefslogtreecommitdiffstats
path: root/metrics.pl
diff options
context:
space:
mode:
Diffstat (limited to 'metrics.pl')
-rwxr-xr-xmetrics.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/metrics.pl b/metrics.pl
index f10499057..c48629c45 100755
--- a/metrics.pl
+++ b/metrics.pl
@@ -35,9 +35,9 @@ eval "use $reporter_class";
# detach
if ($reporter_class->DETACH) {
- open(STDIN, '</dev/null');
- open(STDOUT, '>/dev/null');
- open(STDERR, '>/dev/null');
+ open(STDIN, '<', '/dev/null');
+ open(STDOUT, '>', '/dev/null');
+ open(STDERR, '>', '/dev/null');
setsid();
}