Fix IP route whiptail error

This commit is contained in:
William Wernert
2021-11-09 14:03:32 -05:00
parent 4bae57d994
commit 04d2b52306

View File

@@ -933,10 +933,11 @@ compare_main_nic_ip() {
read -r -d '' message <<- EOM
The IP being routed by Linux is not the IP address assigned to the management interface ($MNIC).
This is not a supported configuration, please remediate and rerun setup.
This is not a supported configuration, please remediate
and rerun setup.
EOM
[[ -n $TESTING ]] || whiptail --title "$whiptail_title" --msgbox "$message" 10 75
[[ -n $TESTING ]] || whiptail --title "$whiptail_title" --msgbox "$message" 11 75
kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1
fi
else