mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Update main.sh
This commit is contained in:
parent
79e9871abd
commit
57ee689651
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ is_type_valid() {
|
|||
is_backup_enabled() {
|
||||
BACKUPS=$(grep "^BACKUPS=" $USER_DATA/user.conf | cut -f2 -d \')
|
||||
if [ -z "$BACKUPS" ] || [[ "$BACKUPS" -le '0' ]]; then
|
||||
check_result $E_DISABLED "user backup is disabled"
|
||||
check_result 0 "user backup is disabled"
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue