diff --git a/src/rpm/systemd-update-helper.in b/src/rpm/systemd-update-helper.in index 8af9149352..6467326e35 100755 --- a/src/rpm/systemd-update-helper.in +++ b/src/rpm/systemd-update-helper.in @@ -3,6 +3,10 @@ set -eu set -o pipefail +if [ "${SYSTEMD_LOG_LEVEL:-}" = "debug" ]; then + set -x +fi + command="${1:?}" shift