← Commit list

a3822de23

Glenn L McGrath
Glenn L McGrath
2003-09-15
FAILED Duration: 88s

Subject

Patch from Bastian Blank to fix a problem when runing find under ash.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+3 -3
@@ -6683,10 +6683,10 @@ sprint_status(char *s, int status, int sigonly)
col = 0;
st = WEXITSTATUS(status);
if (!WIFEXITED(status)) {
- st = WSTOPSIG(status);
+ st = WTERMSIG(status);
#if JOBS
- if (!WIFSTOPPED(status))
- st = WTERMSIG(status);
+ if (WIFSTOPPED(status))
+ st = WSTOPSIG(status);
#endif
if (sigonly) {
if (st == SIGINT || st == SIGPIPE)