From df384126bc0eb667f84b597897d604f596b505fe Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 2 Sep 1997 08:48:47 +0000 Subject: Eliminate an annoying message. --- usr.sbin/pkg_install/lib/plist.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.sbin/pkg_install/lib') diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c index 58907b3..4db3ec4 100644 --- a/usr.sbin/pkg_install/lib/plist.c +++ b/usr.sbin/pkg_install/lib/plist.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: plist.c,v 1.21 1997/06/30 03:15:40 jkh Exp $"; +static const char *rcsid = "$Id: plist.c,v 1.22 1997/07/01 06:13:51 jkh Exp $"; #endif /* @@ -410,10 +410,8 @@ delete_package(Boolean ign_err, Boolean nukedirs, Package *pkg) if (Verbose) printf("Delete file %s\n", tmp); if (!Fake) { - if (delete_hierarchy(tmp, ign_err, nukedirs)) { - whinge("Unable to completely remove file '%s'", tmp); + if (delete_hierarchy(tmp, ign_err, nukedirs)) fail = FAIL; - } if (preserve && name) { char tmp2[FILENAME_MAX]; -- cgit v1.1