aboutsummaryrefslogtreecommitdiff
path: root/findutils/xargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r--findutils/xargs.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c
index c7117771c..f5dbc7825 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -64,16 +64,9 @@ static int xargs_exec(char **args)
bb_error_msg("%s: exited with status 255; aborting", args[0]);
return 124;
}
-/* Huh? I think we won't see this, ever. We don't wait with WUNTRACED!
- if (WIFSTOPPED(status)) {
- bb_error_msg("%s: stopped by signal %d",
- args[0], WSTOPSIG(status));
- return 125;
- }
-*/
- if (status >= 1000) {
+ if (status >= 0x180) {
bb_error_msg("%s: terminated by signal %d",
- args[0], status - 1000);
+ args[0], status - 0x180);
return 125;
}
if (status)