V8.02.768.2025.06.01
Some checks failed
Generating a private Live ISO. / Generating a private Live ISO. (push) Failing after 11s
Some checks failed
Generating a private Live ISO. / Generating a private Live ISO. (push) Failing after 11s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -173,13 +173,12 @@ arg_parser() {
|
||||
;;
|
||||
|
||||
--control)
|
||||
#if [[ -n "${2}" && "${2}" =~ ^-?[0-9]+$ && "${2}" -ge 1 && "${2}" -le 65536 ]]; then
|
||||
if [[ -n "${2}" ]]; then
|
||||
declare -g VAR_HANDLER_ISO_COUNTER="${2}"
|
||||
shift 2
|
||||
else
|
||||
if ! $VAR_HANDLER_AUTOBUILD; then boot_screen_cleaner; fi
|
||||
printf "\e[91m❌ Error: --control MUST be an integer between '1' and '65535'.\e[0m\n" >&2
|
||||
printf "\e[91m❌ Error: --control MUST be provided with a Parameter.\e[0m\n" >&2
|
||||
# shellcheck disable=SC2162
|
||||
read -p $'\e[92m✅ Press \'ENTER\' to exit the script ... \e[0m'
|
||||
exit "${ERR_CONTROL_CT}"
|
||||
|
||||
Reference in New Issue
Block a user