mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Remove confusing punctuation
This commit is contained in:
@@ -148,7 +148,7 @@ __check_url_arr() {
|
|||||||
status=$(curl -s -o /dev/null -w "%{http_code}" -L "$url" 2> /dev/null)
|
status=$(curl -s -o /dev/null -w "%{http_code}" -L "$url" 2> /dev/null)
|
||||||
ret=$?
|
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
|
done
|
||||||
|
|
||||||
if [[ $ret == 0 ]]; then
|
if [[ $ret == 0 ]]; then
|
||||||
@@ -156,7 +156,7 @@ __check_url_arr() {
|
|||||||
if [[ $status -ge 400 ]]; then
|
if [[ $status -ge 400 ]]; then
|
||||||
echo "$warning_prefix $url_success_str but server responded with HTTP code $status." >> "$preflight_log"
|
echo "$warning_prefix $url_success_str but server responded with HTTP code $status." >> "$preflight_log"
|
||||||
else
|
else
|
||||||
printf '%s\n' "$info_prefix $url_success_str." >> "$preflight_log"
|
printf '%s\n' "$info_prefix $url_success_str" >> "$preflight_log"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
ret_code=1
|
ret_code=1
|
||||||
|
|||||||
Reference in New Issue
Block a user