summaryrefslogtreecommitdiffstats
path: root/commands/exec.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-27 12:23:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-07 07:41:26 +0100
commit93578fb2333bba3d1c2d0fa41de11ba4f92f9aed (patch)
tree0ded5f8c7eff310f441fe2cf1c939bbe3a86291b /commands/exec.c
parent3ea30d9ce892a66d5161acd8afb24b755e3f2045 (diff)
downloadbarebox-93578fb2333bba3d1c2d0fa41de11ba4f92f9aed.tar.gz
barebox-93578fb2333bba3d1c2d0fa41de11ba4f92f9aed.tar.xz
run_command: remove unused flag parameter
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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);
}