Reseting i_am_in_backup_all_user

This commit is contained in:
myvesta 2019-01-11 00:30:47 +01:00 committed by GitHub
commit 5259f53dd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,9 @@ for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
echo -e "================================" >> $log
echo -e "$user" >> $log
echo -e "--------------------------------\n" >> $log
i_am_in_backup_all_users=0
nice -n 19 $BIN/v-backup-user $user >> $log 2>&1
i_am_in_backup_all_users=1
echo -e "\n--------------------------------\n\n" >> $log
fi
done