V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 50s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-24 20:43:32 +02:00
parent 65c13547c3
commit b9d4c2019c
11 changed files with 64 additions and 75 deletions

View File

@@ -15,8 +15,8 @@ guard_sourcing
#######################################
# Generic safe wrapper for external commands.
# Arguments:
# $*: full command (array, quoted!)
# $2: ERR_CONST on failure
# *: full command (array, quoted!)
# 2: ERR_CONST on failure
#######################################
safe_exec() {
declare -a ary_cmd=("${@:1:$#-1}") # All but last arg.