tsam: remove backward ?: - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6a80119eb509bd948d87ad1b84b0a82855a3c691
(DIR) parent c3ae85a004c8714fc653629a983327d9a15b36da
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Thu, 14 Jan 2021 10:01:25 -0500
sam: remove backward ?:
The exit code here is ignored anyway.
Diffstat:
M src/cmd/sam/shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c
t@@ -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");