diff --git a/xargs.c b/xargs.c index 75e8731..da7754c 100644 --- a/xargs.c +++ b/xargs.c @@ -241,4 +241,6 @@ runcmd(void) WEXITSTATUS(status) == 126) exit(WEXITSTATUS(status)); } + if (WIFSIGNALED(status)) + exit(125); }