mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
OR instead AND
This commit is contained in:
parent
f8461813d7
commit
a46490af77
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ wait_for_backup_if_it_is_not_time_for_backup() {
|
|||
if pgrep -x "v-backup-users" > /dev/null
|
||||
then
|
||||
hour=$(date +"%H");
|
||||
while [ "$hour" -gt "6" ] && [ "$hour" -lt "1" ]; do
|
||||
while [ "$hour" -gt "6" ] || [ "$hour" -lt "1" ]; do
|
||||
# if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
|
||||
# do something when enter sleeping state
|
||||
# $BIN/v-restart-web-backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue