summaryrefslogtreecommitdiffstats
path: root/commands/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/exec.c')
-rw-r--r--commands/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/exec.c b/commands/exec.c
index bd7d54afd2..8d12b30ec9 100644
--- a/commands/exec.c
+++ b/commands/exec.c
@@ -39,7 +39,7 @@ static int do_exec(int argc, char *argv[])
if (!script)
return 1;
- if (run_command (script, 0) == -1)
+ if (run_command(script) == -1)
goto out;
free(script);
}