Fix summary message to preserve empty line

This commit is contained in:
William Wernert
2021-04-20 14:44:58 -04:00
parent 113e558a05
commit 3d90423495

View File

@@ -616,10 +616,14 @@ whiptail_end_settings() {
fi fi
fi fi
__append_end_msg "" local msg
__append_end_msg "Press TAB to select yes or no." read -r -d '' msg <<-EOM
$end_msg
whiptail --title "The following options have been set, would you like to proceed?" --yesno "$end_msg" 24 75 --scrolltext Press TAB to select yes or no.
EOM
whiptail --title "The following options have been set, would you like to proceed?" --yesno "$msg" 24 75 --scrolltext
local exitstatus=$? local exitstatus=$?
whiptail_check_exitstatus $exitstatus whiptail_check_exitstatus $exitstatus