systemd-update-helper: Show executed commands if debug logging is enabled

This commit is contained in:
Daan De Meyer
2024-10-11 19:30:04 +01:00
committed by Luca Boccassi
parent c2f3cb2676
commit 8b8668b9e7
+4
View File
@@ -3,6 +3,10 @@
set -eu
set -o pipefail
if [ "${SYSTEMD_LOG_LEVEL:-}" = "debug" ]; then
set -x
fi
command="${1:?}"
shift