V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 50s
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user