mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-25 11:15:34 +00:00
Backed out change in rev 1.2.
This commit is contained in:
parent
187f023877
commit
7e877393a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10346
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue