plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 6a80119eb509bd948d87ad1b84b0a82855a3c691
parent c3ae85a004c8714fc653629a983327d9a15b36da
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:
Msrc/cmd/sam/shell.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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");