aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/shell.c')
-rw-r--r--src/cmd/sam/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c
index c6efdd57..92bd5277 100644
--- a/src/cmd/sam/shell.c
+++ b/src/cmd/sam/shell.c
@@ -90,7 +90,7 @@ plan9(File *f, int type, String *s, int nest)
free(c);
}
}
- exits(retcode? "error" : 0);
+ exits(0);
}
if(pid==-1){
fprint(2, "Can't fork?!\n");