mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
Commenting empty if block
This commit is contained in:
parent
9eca02980a
commit
fce6abd684
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue