Commenting empty if block

This commit is contained in:
myvesta 2018-10-29 12:49:50 +01:00 committed by GitHub
commit fce6abd684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";