mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user