diff --git a/scripts/check b/scripts/check index ae9b69de..1eb1cc55 100755 --- a/scripts/check +++ b/scripts/check @@ -273,7 +273,7 @@ check_shared_storage() { else log_info "Outstanding pull actions have been identified (see ACTION_NEEDED), exiting." log_info "TIP: '--no-action-failure' forces execution within 'apply' anyway (use with care!)." - return $RC + return "$RC" fi } diff --git a/scripts/decrypt b/scripts/decrypt index 62e9cbf2..92e5af58 100755 --- a/scripts/decrypt +++ b/scripts/decrypt @@ -38,6 +38,7 @@ log_info() { } # info without ending newline +# shellcheck disable=SC2317 log_info_n() { logger -t ngcpcfg --id="${NGCPCFG_PID}" -- "$*" console_output "$*" @@ -53,6 +54,7 @@ log_error() { console_output "Error: $*\n" >&2 } +# shellcheck disable=SC2317 log_debug() { if [ -n "${DEBUG:-}" ] ; then logger -t ngcpcfg --id="${NGCPCFG_PID}" -- "Debug: $*"