summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r--pw/pw_user.c2
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
*/