Date: Sun, 7 Jun 2015 14:32:53 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284117 - head/usr.sbin/pw Message-ID: <201506071432.t57EWrLK091450@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jun 7 14:32:52 2015 New Revision: 284117 URL: https://svnweb.freebsd.org/changeset/base/284117 Log: Fix pw userdel -r not deleting homedir Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ============================================================================== --- head/usr.sbin/pw/pw_user.c Sun Jun 7 14:20:48 2015 (r284116) +++ head/usr.sbin/pw/pw_user.c Sun Jun 7 14:32:52 2015 (r284117) @@ -1139,7 +1139,7 @@ delete_user(struct userconf *cnf, struct pw_log(cnf, mode, W_USER, "%s(%u) account removed", a_name->val, uid); - if (PWALTDIR()) { + if (!PWALTDIR()) { /* * Remove mail file */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506071432.t57EWrLK091450>