diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-06-04 05:56:27 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-06-04 05:56:27 +0000 |
commit | 91eecc32f16a4b3cf44a99cb27a4d0b2ae158e25 (patch) | |
tree | a1e71de0958de03e9f116915534646a8a221467b | |
parent | 6a7884f2b8e9cf6b03ae8bcddec354fef4f42f97 (diff) |
If strip(1) fails it should not be a fatal error.
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index ed05f796eb0..27cee06671b 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xinstall.c,v 1.13 1997/04/17 19:13:58 millert Exp $ */ +/* $OpenBSD: xinstall.c,v 1.14 1997/06/04 05:56:26 millert Exp $ */ /* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93"; #endif -static char rcsid[] = "$OpenBSD: xinstall.c,v 1.13 1997/04/17 19:13:58 millert Exp $"; +static char rcsid[] = "$OpenBSD: xinstall.c,v 1.14 1997/06/04 05:56:26 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -524,7 +524,7 @@ strip(to_name) warn("%s", path_strip); _exit(EX_OSERR); default: - if (wait(&status) == -1 || status) + if (wait(&status) == -1 || !WIFEXITED(status)) (void)unlink(to_name); } } |