From fce6abd6841d29b2c76dcd61265cb14b69b478b1 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 29 Oct 2018 12:49:50 +0100 Subject: [PATCH] Commenting empty if block --- func/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func/main.sh b/func/main.sh index 74db3382..77cc4c76 100644 --- a/func/main.sh +++ b/func/main.sh @@ -947,10 +947,10 @@ wait_for_backup_if_it_is_not_time_for_backup() { then hour=$(date +"%H"); while [ "$hour" -gt "6" ]; do - if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then + # if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then # do something when enter sleeping state # $BIN/v-restart-web-backend - fi + # fi WAIT_LOOP_ENTERED=1 current_date_time="`date "+%Y-%m-%d %H:%M:%S"`"; echo "$current_date_time - wait to backup user $user - current hour is $hour";