From: deraadt Date: Fri, 6 Dec 1996 02:14:56 +0000 (+0000) Subject: warn and _exit X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dc2ecd5f5498b84c88153919b21f8a3dc882819b;p=openbsd warn and _exit --- diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index b9abb6adce9..2fe0119b22c 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xinstall.c,v 1.8 1996/09/22 20:17:54 imp Exp $ */ +/* $OpenBSD: xinstall.c,v 1.9 1996/12/06 02:14:56 deraadt Exp $ */ /* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93"; #endif -static char rcsid[] = "$OpenBSD: xinstall.c,v 1.8 1996/09/22 20:17:54 imp Exp $"; +static char rcsid[] = "$OpenBSD: xinstall.c,v 1.9 1996/12/06 02:14:56 deraadt Exp $"; #endif /* not lint */ #include @@ -518,7 +518,8 @@ strip(to_name) errx(EX_TEMPFAIL, "forks: %s", strerror(serrno)); case 0: execl(_PATH_STRIP, "strip", to_name, NULL); - err(EX_OSERR, "%s", _PATH_STRIP); + warn("%s", _PATH_STRIP); + _exit(EX_OSERR); default: if (wait(&status) == -1 || status) (void)unlink(to_name);