diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-08-20 10:29:52 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-08-20 10:29:52 +0000 |
| commit | d72611b036b54ceb95d34bf559c3a9e0db9cc572 (patch) | |
| tree | 393c6765921e8b939ddeb5e3e55d7544176eb6cb /usr.sbin/pkg_install | |
| parent | f83c32c1ca9d18d9d89bec10d0a62be1c13b5abf (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
| -rw-r--r-- | usr.sbin/pkg_install/lib/plist.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c index 9e48780b2c45..9599c0716eab 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.17.2.2 1997/06/30 03:15:22 jkh Exp $"; +static const char *rcsid = "$Id: plist.c,v 1.17.2.3 1997/07/01 06:14:15 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]; |
