V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 38s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 38s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -15,8 +15,8 @@ guard_sourcing
|
||||
#######################################
|
||||
# Wrapper for mismatched Arguments.
|
||||
# Globals:
|
||||
# C_RED
|
||||
# C_RES
|
||||
# RED
|
||||
# RES
|
||||
# ERR_ARG_MISMATCH
|
||||
# NL
|
||||
# VAR_AUTO_INSTALL
|
||||
@@ -34,7 +34,7 @@ arg_mismatch() {
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
printf "%s❌ Error: '%s'. %s%s" "${C_RED}" "${1}" "${C_RES}" "${NL}" >&2
|
||||
printf "%s❌ Error: '%s'. %s%s" "${RED}" "${1}" "${RES}" "${NL}" >&2
|
||||
read -pr $'\e[92m✅ Press \'ENTER\' to exit the script ... \e[0m'
|
||||
exit "${ERR_ARG_MISMATCH}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user