diff options
author | jkh <jkh@FreeBSD.org> | 1993-10-08 02:38:15 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1993-10-08 02:38:15 +0000 |
commit | 40e400f2e08667c1365565bf5df793478e0eafd2 (patch) | |
tree | aca6bdc8ef5c0268fd14209de3fca52e0ffeaa44 /gnu/usr.bin/man/lib | |
parent | 72694b8f1f8d76f1bc05e2616dd2ea456906b76f (diff) | |
download | FreeBSD-src-40e400f2e08667c1365565bf5df793478e0eafd2.zip FreeBSD-src-40e400f2e08667c1365565bf5df793478e0eafd2.tar.gz |
More paranoid dealings with system()
Diffstat (limited to 'gnu/usr.bin/man/lib')
-rw-r--r-- | gnu/usr.bin/man/lib/util.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/usr.bin/man/lib/util.c b/gnu/usr.bin/man/lib/util.c index b0babed..f462e3e 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; } |