use waitforstate var instead.

This commit is contained in:
m0duspwnens
2024-05-23 10:41:10 -04:00
parent 0b9ebefdb6
commit ea7715f729

View File

@@ -451,7 +451,7 @@ whiptail_end_settings() {
done
fi
if [[ ! $is_airgap ]] && [[ $dist_option == "NEWDEPLOYMENT" ]]; then
if [[ ! $is_airgap ]] && [[ $waitforstate ]]; then
if [[ $telemetry -eq 0 ]]; then
__append_end_msg "SOC Telemetry: enabled"
else