mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
systemd-update-helper: Show executed commands if debug logging is enabled
This commit is contained in:
committed by
Luca Boccassi
parent
c2f3cb2676
commit
8b8668b9e7
@@ -3,6 +3,10 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ "${SYSTEMD_LOG_LEVEL:-}" = "debug" ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
command="${1:?}"
|
||||
shift
|
||||
|
||||
|
||||
Reference in New Issue
Block a user