diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c index 58907b33f0a0..4db3ec4a3624 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];