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