V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -26,12 +26,10 @@ guard_sourcing
|
||||
#######################################
|
||||
arg_mismatch() {
|
||||
### Call cleaner if and only if not in auto-install mode.
|
||||
if [[ "${VAR_AUTO_INSTALL}" == false ]]; then
|
||||
if [[ "${VAR_AUTO_INSTALL}" == "false" ]]; then
|
||||
### Dynamically select the cleaner based on the dialog wrapper type.
|
||||
case "${VAR_IN_DIALOG_WR}" in
|
||||
box|gauge)
|
||||
"dialog_${VAR_IN_DIALOG_WR}_cleaner"
|
||||
;;
|
||||
box|gauge) "dialog_${VAR_IN_DIALOG_WR}_cleaner" ;;
|
||||
esac
|
||||
fi
|
||||
printf "%s❌ Error: '%s'. %s%s" "${RED}" "${1}" "${RES}" "${NL}" >&2
|
||||
|
||||
Reference in New Issue
Block a user