From 90244813fe8110fc91f3746ebd93880e1c911cf1 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 27 Jan 2015 12:27:50 +0800 Subject: Bug 1124432: Backport upstream bug 1079065 to bmo/4.2 to fix improper use of open() calls --- sentry.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sentry.pl') diff --git a/sentry.pl b/sentry.pl index 5c93e6ee3..9b37694d8 100755 --- a/sentry.pl +++ b/sentry.pl @@ -40,9 +40,9 @@ Bugzilla->usage_mode(USAGE_MODE_CMDLINE); nice(19); # detach -open(STDIN, '/dev/null'); -open(STDERR, '>/dev/null'); +open(STDIN, '<', '/dev/null'); +open(STDOUT, '>', '/dev/null'); +open(STDERR, '>', '/dev/null'); setsid(); # grab sentry server url -- cgit v1.2.3-24-g4f1b