diff --git a/gnu/usr.bin/man/lib/util.c b/gnu/usr.bin/man/lib/util.c index e8253a8a993f..e12419afda5e 100644 --- a/gnu/usr.bin/man/lib/util.c +++ b/gnu/usr.bin/man/lib/util.c @@ -139,7 +139,7 @@ do_system_command (command) status = system (command); if (WIFSIGNALED(status)) - return 0; + return -1; else if (WEXITSTATUS(status)) { gripe_system_command (status); return 0;