Backed out change in rev 1.2.

This commit is contained in:
David Greenman 1995-08-27 02:02:19 +00:00
parent 187f023877
commit 7e877393a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10346

View file

@ -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);
}
}