diff options
author | Russ Cox <rsc@swtch.com> | 2021-01-14 10:01:25 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2021-01-14 10:01:25 -0500 |
commit | 6a80119eb509bd948d87ad1b84b0a82855a3c691 (patch) | |
tree | 2cb0cd260665eb38a015d14c876bcd2bc19f7e39 /src/cmd/sam | |
parent | c3ae85a004c8714fc653629a983327d9a15b36da (diff) | |
download | plan9port-6a80119eb509bd948d87ad1b84b0a82855a3c691.tar.gz plan9port-6a80119eb509bd948d87ad1b84b0a82855a3c691.tar.bz2 plan9port-6a80119eb509bd948d87ad1b84b0a82855a3c691.zip |
sam: remove backward ?:
The exit code here is ignored anyway.
Diffstat (limited to 'src/cmd/sam')
-rw-r--r-- | src/cmd/sam/shell.c | 2 |
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"); |