Skip to content

Commit

Permalink
appending ||true to attempts++ so it wasn't stopping the script
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclingzealot committed Sep 6, 2018
1 parent b2b956b commit a5459b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webOnline.bash
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ for page in `cat $configFile | sort | uniq | sort -R `; do
set -x
while [ $attempts -lt 3 ] && ! $connect ; do
if ! curl -k -I -fs --max-time $TH $page > /dev/null ; then
let "attempts++"
let "attempts++" || true
else
connect=true
fi
Expand Down

0 comments on commit a5459b0

Please sign in to comment.