mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
systemd-update-helper: Show executed commands if debug logging is enabled
(cherry picked from commit 8b8668b9e71837cb541cd432bc37e4c9405e49cd) (cherry picked from commit c7762098ec09c2626204c9580c91295414137bba) (cherry picked from commitb095673440
) (cherry picked from commitd1bc81ba33
)
This commit is contained in:
parent
6feda43612
commit
388630c5a9
@ -3,6 +3,10 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ "${SYSTEMD_LOG_LEVEL:-}" = "debug" ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
command="${1:?}"
|
||||
shift
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user