Remove confusing punctuation

This commit is contained in:
William Wernert
2021-11-16 10:56:31 -05:00
parent 4e3f43bee4
commit d4d9032bfc

View File

@@ -148,7 +148,7 @@ __check_url_arr() {
status=$(curl -s -o /dev/null -w "%{http_code}" -L "$url" 2> /dev/null)
ret=$?
[[ $ret != 0 ]] && echo "$warning_prefix ($count/$retry_count) Could not reach $url. curl error code: $ret" >> "$preflight_log"
[[ $ret != 0 ]] && echo "$warning_prefix ($count/$retry_count) Could not reach $url, curl error code: $ret" >> "$preflight_log"
done
if [[ $ret == 0 ]]; then
@@ -156,7 +156,7 @@ __check_url_arr() {
if [[ $status -ge 400 ]]; then
echo "$warning_prefix $url_success_str but server responded with HTTP code $status." >> "$preflight_log"
else
printf '%s\n' "$info_prefix $url_success_str." >> "$preflight_log"
printf '%s\n' "$info_prefix $url_success_str" >> "$preflight_log"
fi
else
ret_code=1