mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +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);
|
pw_log(cnf, mode, W_USER, "%s(%u) account removed", a_name->val, uid);
|
||||||
|
|
||||||
if (PWALTDIR()) {
|
if (!PWALTDIR()) {
|
||||||
/*
|
/*
|
||||||
* Remove mail file
|
* Remove mail file
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user