Skip to content

Commit 463a58c

Browse files
authored
Replaced $old_uid with $user line 588
1 parent d5c24cd commit 463a58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restore-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
585585
fi
586586

587587
# Chowning as owner needs to be user:mail instead of user:user
588-
find $HOMEDIR/$user/mail/$domain_idn -user $old_uid \
588+
find $HOMEDIR/$user/mail/$domain_idn -user $user \
589589
-exec chown -h $user:mail {} \;
590590
fi
591591

0 commit comments

Comments
 (0)