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