never returns!
This commit is contained in:
parent
0c931af50f
commit
b52dea08bc
1 changed files with 1 additions and 1 deletions
2
sh.c
2
sh.c
|
@ -65,7 +65,7 @@ runcmd(struct cmd *cmd)
|
|||
struct redircmd *rcmd;
|
||||
|
||||
if(cmd == 0)
|
||||
return;
|
||||
exit();
|
||||
|
||||
switch(cmd->type){
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue