From: Johannes Truschnigg Date: Sun, 20 Mar 2022 15:12:50 +0000 (+0100) Subject: Make config override output format align with everything else X-Git-Url: https://johannes.truschnigg.info/gitweb/?a=commitdiff_plain;h=e81c88d9d647937d2dd132bf856074e540769d65;p=sqm_lagthrottle Make config override output format align with everything else --- diff --git a/sqm_lagthrottle.sh b/sqm_lagthrottle.sh index ff0c8b1..62518bf 100755 --- a/sqm_lagthrottle.sh +++ b/sqm_lagthrottle.sh @@ -107,8 +107,8 @@ done if [ -r "${SQML_CFGFILE}" ] && sh -n "${SQML_CFGFILE}" then - printf 'Evaluating configuration delta from file "%s"...\n' "${SQML_CFGFILE}" >&2 - eval "set -x; $(grep -E '[A-Z][A-Z_]+=' "${SQML_CFGFILE}"); set +x" + printf '# INFO: Evaluating configuration delta from file "%s"...\n' "${SQML_CFGFILE}" + eval "PS4='# SETTING: ' set -x; $(grep -E '[A-Z][A-Z_]+=' "${SQML_CFGFILE}"); set +x" _cfg_ok=$? set +x if [ ${_cfg_ok} -ne 0 ]