Skip to content

Commit

Permalink
Fix comments to match code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bgupta committed Mar 12, 2018
1 parent 68a2280 commit 2b748b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ else
fi
fi

#Checks if the backup exists every 10 seconds, 20 times. If you have a bigger instance with a larger backup file you'll probably want to increase that.
# Checks if the backup exists every $SLEEP_SECONDS seconds, $PROGRESS_CHECKS times.
for (( c=1; c<=$PROGRESS_CHECKS; c++ )) do

if [ $FILEPREFIX = "JIRA" ]; then
Expand All @@ -129,7 +129,7 @@ for (( c=1; c<=$PROGRESS_CHECKS; c++ )) do
sleep $SLEEP_SECONDS
done

# If after 20 attempts it still fails it ends the script.
# If after $PROGRESS_CHECKS attempts it still fails it ends the script.
if [ -z "$FILE_NAME" ]; then
exit
else
Expand Down

0 comments on commit 2b748b5

Please sign in to comment.