summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}