Browse Source

Replaced $old_uid with $user line 588

Jaap Marcus 5 years ago
parent
commit
463a58c93b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-restore-user

+ 1 - 1
bin/v-restore-user

@@ -585,7 +585,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
             fi
 
             # Chowning as owner needs to be user:mail instead of user:user
-            find $HOMEDIR/$user/mail/$domain_idn -user $old_uid \
+            find $HOMEDIR/$user/mail/$domain_idn -user $user \
                -exec chown -h $user:mail {} \;
         fi