From 32d5877021ed3ddd2a63777ec8e5b75c4270d100 Mon Sep 17 00:00:00 2001 From: dg Date: Sun, 27 Aug 1995 02:02:19 +0000 Subject: [PATCH] Backed out change in rev 1.2. --- usr.bin/xinstall/xinstall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index e70e15025f29..4c41fa805105 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -311,7 +311,7 @@ strip(to_name) execl(_PATH_STRIP, "strip", to_name, NULL); err("%s: %s", _PATH_STRIP, strerror(errno)); default: - if (wait(&status) == -1) + if (wait(&status) == -1 || status) (void)unlink(to_name); } }