summaryrefslogtreecommitdiff
path: root/shell/msh.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/msh.c')
-rw-r--r--shell/msh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c
index a96e799..aa6fb1d 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -3007,7 +3007,7 @@ static int waitfor(int lastpid, int canintr)
prs(" - core dumped");
if (rv >= ARRAY_SIZE(signame) || signame[rv])
prs("\n");
- rv = -1;
+ rv |= 0x80;
} else
rv = WAITVAL(s);
}