Adding call for function wait_for_backup_if_it_is_not_time_for_backup

This commit is contained in:
dpeca 2018-10-28 03:51:20 +01:00 committed by GitHub
commit 9eca02980a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
if [ ! -f "$VESTA/data/users/$user/user.conf" ]; then
continue;
fi
wait_for_backup_if_it_is_not_time_for_backup
check_suspend=$(grep "SUSPENDED='no'" $VESTA/data/users/$user/user.conf)
log=$VESTA/log/backup.log
if [ ! -z "$check_suspend" ]; then