mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix variable name
This commit is contained in:
@@ -152,11 +152,11 @@ __check_url_arr() {
|
||||
done
|
||||
|
||||
if [[ $ret == 0 ]]; then
|
||||
success_str="Successfully reached $url"
|
||||
url_success_str="Successfully reached $url"
|
||||
if [[ $status -ge 400 ]]; then
|
||||
echo "$warning_prefix $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
|
||||
echo "$info_prefix $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