summaryrefslogtreecommitdiff
path: root/userspace/foolshell.c
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/foolshell.c')
-rw-r--r--userspace/foolshell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/foolshell.c b/userspace/foolshell.c
index 3c1fb50..6877adb 100644
--- a/userspace/foolshell.c
+++ b/userspace/foolshell.c
@@ -257,7 +257,7 @@ int process(char *buf)
exit(0);
}
- if(token[1]!=NULL&&strcmp(token[1],"branch"))_wait(pid);
+ if(token[1]==NULL||strcmp(token[1],"branch"))_wait(pid);
}
return 0;