mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Fix pw userdel -r not deleting homedir
This commit is contained in:
parent
5387a257e4
commit
fe084e12a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284117
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user