mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +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 -eu
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
if [ "${SYSTEMD_LOG_LEVEL:-}" = "debug" ]; then
|
||||||
|
set -x
|
||||||
|
fi
|
||||||
|
|
||||||
command="${1:?}"
|
command="${1:?}"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user