diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2020-07-10 17:42:22 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2020-07-10 17:42:22 +0000 |
commit | cd88eaa5b4190b1dfdf90eb3579ca68070e0c8ef (patch) | |
tree | e73e51814e78b1f4136fbc454f8058ca2e2dfe03 /usr.bin/xinstall | |
parent | 4ef7c2f28f4ab89a313b2837e1baf58d3e9c99d8 (diff) | |
download | src-cd88eaa5b4190b1dfdf90eb3579ca68070e0c8ef.tar.gz src-cd88eaa5b4190b1dfdf90eb3579ca68070e0c8ef.zip |
Notes
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index 1ce0e2ee4a62..fe1a00c57305 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1350,9 +1350,9 @@ strip(const char *to_name, const char *from_name, char **dresp) /* NOTREACHED */ } if (status != 0) { - (void)unlink(to_name); if (from_name != NULL) return (0); + (void)unlink(to_name); errx(EX_SOFTWARE, "strip command %s failed on %s", stripbin, to_name); } |