Fix pw userdel -r not deleting homedir

This commit is contained in:
bapt 2015-06-07 14:32:52 +00:00
parent 8d7d94ead0
commit c31a38b994

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
*/