mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Correcting $ALLOW_BACKUP_ANYTIME
This commit is contained in:
parent
233a3a3777
commit
caf3e97d5c
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ wait_for_backup_if_it_is_not_time_for_backup() {
|
||||||
done
|
done
|
||||||
|
|
||||||
# block backup if current hour is after 6 AM
|
# block backup if current hour is after 6 AM
|
||||||
if [ -z "ALLOW_BACKUP_ANYTIME" ]; then
|
if [ -z "$ALLOW_BACKUP_ANYTIME" ]; then
|
||||||
WAIT_LOOP_ENTERED=0
|
WAIT_LOOP_ENTERED=0
|
||||||
hour=$(date +"%H");
|
hour=$(date +"%H");
|
||||||
while [ "$hour" -gt "6" ] || [ "$hour" -lt "1" ]; do
|
while [ "$hour" -gt "6" ] || [ "$hour" -lt "1" ]; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue