Skip to content

Commit

Permalink
Merge pull request #18 from bgupta/fix_comments
Browse files Browse the repository at this point in the history
Fix comments to match code changes
  • Loading branch information
dzschille authored Mar 12, 2018
2 parents 09f35b1 + 2b748b5 commit 9d1754c
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 @@ -103,7 +103,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 @@ -128,7 +128,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 9d1754c

Please sign in to comment.