Fix pw userdel -r not deleting homedir

This commit is contained in:
Baptiste Daroussin 2015-06-07 14:32:52 +00:00
parent 5387a257e4
commit fe084e12a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284117

View File

@ -1139,7 +1139,7 @@ delete_user(struct userconf *cnf, struct passwd *pwd, struct carg *a_name,
pw_log(cnf, mode, W_USER, "%s(%u) account removed", a_name->val, uid);
if (PWALTDIR()) {
if (!PWALTDIR()) {
/*
* Remove mail file
*/