V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-29 20:46:41 +02:00
parent ae0dd36ff6
commit 56e7c59905
4 changed files with 5 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ safe_exec() {
declare -a ary_cmd=("${@:1:$#-1}") # All but last arg.
declare var_errcode="${!#}" # Last arg.
"${ary_cmd[@]}" && return 0
do_log "error" "false" "Command '${ary_cmd[*]}' failed."
do_log "error" "file_only" "Command '${ary_cmd[*]}' failed."
return "${var_errcode}"
}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh