diff options
-rw-r--r-- | shell/msh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c index a96e799e2..aa6fb1d26 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -3007,7 +3007,7 @@ static int waitfor(int lastpid, int canintr) | |||
3007 | prs(" - core dumped"); | 3007 | prs(" - core dumped"); |
3008 | if (rv >= ARRAY_SIZE(signame) || signame[rv]) | 3008 | if (rv >= ARRAY_SIZE(signame) || signame[rv]) |
3009 | prs("\n"); | 3009 | prs("\n"); |
3010 | rv = -1; | 3010 | rv |= 0x80; |
3011 | } else | 3011 | } else |
3012 | rv = WAITVAL(s); | 3012 | rv = WAITVAL(s); |
3013 | } | 3013 | } |