V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m59s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m59s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -21,8 +21,9 @@ guard_sourcing
|
|||||||
#######################################
|
#######################################
|
||||||
guard_trace() {
|
guard_trace() {
|
||||||
case "${1,,}" in
|
case "${1,,}" in
|
||||||
on) [[ "${VAR_DEBUG_TRACE,,}" == "true" ]] && set +x;;
|
on) if [[ "${VAR_DEBUG_TRACE}" == "true" ]]; then set +x; fi ;;
|
||||||
off) [[ "${VAR_DEBUG_TRACE,,}" == "true" ]] && set -x;;
|
off) if [[ "${VAR_DEBUG_TRACE}" == "true" ]]; then set -x; fi ;;
|
||||||
esac
|
esac
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
Reference in New Issue
Block a user