mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
don't make user backups if backup ssystem is disabled
This commit is contained in:
parent
8f2baae014
commit
61fe8fc2a9
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ source $VESTA/conf/vesta.conf
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
if [ -z "$BACKUP_SYSTEM" ]; then
|
||||
exit
|
||||
fi
|
||||
for user in $(ls $VESTA/data/users); do
|
||||
check_suspend=$(grep "SUSPENDED='no'" $VESTA/data/users/$user/user.conf)
|
||||
log=$VESTA/log/backup.log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue