summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-08-04 17:13:36 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-08-04 17:13:36 +0000
commit84be91cbafa92e6852ef8fb5a143d42a8543432e (patch)
treeca0f4cfec328311faf910c64fe849d8c648914c2
parent6aefd620782e6cd2f9628e7ee63c501da0dce074 (diff)
Notes
-rw-r--r--usr.bin/xinstall/xinstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index 4c41fa805105..e70e15025f29 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 || status)
+ if (wait(&status) == -1)
(void)unlink(to_name);
}
}