commit 6a80119eb509bd948d87ad1b84b0a82855a3c691 from: Russ Cox date: Thu Jan 14 15:01:25 2021 UTC sam: remove backward ?: The exit code here is ignored anyway. commit - c3ae85a004c8714fc653629a983327d9a15b36da commit + 6a80119eb509bd948d87ad1b84b0a82855a3c691 blob - c6efdd572d42707bfda53cffa7cd1f26e06ab288 blob + 92bd5277bb297623566f6ab945d55907b2753d81 --- src/cmd/sam/shell.c +++ 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");