diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-07 14:32:52 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-07 14:32:52 +0000 |
commit | 9eca0d3b9875657b856d9f4b2c808164886ef1cd (patch) | |
tree | 2328d8f09d9ddb6af68993e92128935588d09b68 /pw/pw_user.c | |
parent | aa02e73442262bdff0eacbf64175e8c0c711a749 (diff) | |
download | pw-darwin-9eca0d3b9875657b856d9f4b2c808164886ef1cd.tar.gz pw-darwin-9eca0d3b9875657b856d9f4b2c808164886ef1cd.tar.zst pw-darwin-9eca0d3b9875657b856d9f4b2c808164886ef1cd.zip |
Fix pw userdel -r not deleting homedir
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r-- | pw/pw_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c index 5f65129..f5305f9 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -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 */ |