From 40e400f2e08667c1365565bf5df793478e0eafd2 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 8 Oct 1993 02:38:15 +0000 Subject: [PATCH] More paranoid dealings with system() --- gnu/usr.bin/man/lib/util.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gnu/usr.bin/man/lib/util.c b/gnu/usr.bin/man/lib/util.c index b0babed3c6c..f462e3e2399 100644 --- a/gnu/usr.bin/man/lib/util.c +++ b/gnu/usr.bin/man/lib/util.c @@ -137,14 +137,8 @@ do_system_command (command) else status = system (command); - /* - * Ultrix returns 127 for failure. Is this normal? - */ - if (status == 127) - { - gripe_system_command (status); - return 0; - } + if (status) + return 0; else return 1; } -- 2.45.2