Skip to content

Commit fce6abd

Browse files
authored
Commenting empty if block
1 parent 9eca029 commit fce6abd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

func/main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,10 +947,10 @@ wait_for_backup_if_it_is_not_time_for_backup() {
947947
then
948948
hour=$(date +"%H");
949949
while [ "$hour" -gt "6" ]; do
950-
if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
950+
# if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
951951
# do something when enter sleeping state
952952
# $BIN/v-restart-web-backend
953-
fi
953+
# fi
954954
WAIT_LOOP_ENTERED=1
955955
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`";
956956
echo "$current_date_time - wait to backup user $user - current hour is $hour";

0 commit comments

Comments
 (0)