summaryrefslogtreecommitdiff
path: root/fixprogs
diff options
context:
space:
mode:
Diffstat (limited to 'fixprogs')
-rwxr-xr-xfixprogs6
1 files changed, 3 insertions, 3 deletions
diff --git a/fixprogs b/fixprogs
index 4a70d2f9f..f781fec08 100755
--- a/fixprogs
+++ b/fixprogs
@@ -44,9 +44,9 @@ foreach (@infile) {
44 if (! ($pid = fork())) { 44 if (! ($pid = fork())) {
45 # child 45 # child
46 close STDIN; close STDOUT; close STDERR; 46 close STDIN; close STDOUT; close STDERR;
47 open STDIN, "</dev/null"; 47 open (STDIN, "</dev/null");
48 open STDOUT, ">/dev/null"; 48 open (STDOUT, ">/tmp/foo");
49 open STDERR, ">/dev/null"; 49 open (STDERR, ">/dev/null");
50 exec $path @args; 50 exec $path @args;
51 exit 1; # shouldn't be here 51 exit 1; # shouldn't be here
52 } 52 }