aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index d3620971..beb3c8c7 100644
--- a/exec.c
+++ b/exec.c
@@ -1346,7 +1346,7 @@ void exec( job_t *j )
for( io = j->io; io; io=io->next )
{
- if( io->io_mode == IO_FILE )
+ if( io->io_mode == IO_FILE && wcscmp(io->param1.filename, L"/dev/null" ))
{
skip_fork = 0;
}