aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/lash.c')
-rw-r--r--shell/lash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 05dab9254..9d4c27a9a 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -771,7 +771,7 @@ static int runCommand(struct job newJob, struct jobSet *jobList, int inBg)
if (strcmp(newJob.progs[i].argv[0], a->name) == 0) {
int argc;
char** argv=newJob.progs[i].argv;
- for(argc=0;*argv!=NULL, argv++, argc++);
+ for(argc=0;*argv!=NULL; argv++, argc++);
exit((*(a->main)) (argc, newJob.progs[i].argv));
}
a++;