diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-08 15:33:40 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-11 11:49:23 +0200 |
commit | 5cf69e709eb928662f03944ac4064157784b0d76 (patch) | |
tree | ce70545a987e8a47fe618b09e6c0261370c615dd /test/test-systemctl-enable.sh | |
parent | os-util: merge parse_{extension,os}_release() (diff) | |
download | systemd-5cf69e709eb928662f03944ac4064157784b0d76.tar.xz systemd-5cf69e709eb928662f03944ac4064157784b0d76.zip |
os-util: make $SYSTEMD_OS_RELEASE prefixed with the root directory
To make it consistent with other env vars, e.g. $SYSTEMD_ESP_PATH or
$SYSTEMD_XBOOTLDR_PATH.
This is useful when the root is specified by a file descriptor, instead
of a path.
Diffstat (limited to 'test/test-systemctl-enable.sh')
-rw-r--r-- | test/test-systemctl-enable.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-systemctl-enable.sh b/test/test-systemctl-enable.sh index 7d5667f297..e22a3ef628 100644 --- a/test/test-systemctl-enable.sh +++ b/test/test-systemctl-enable.sh @@ -695,4 +695,4 @@ cat >"$root/etc/os-release2" <<EOF ID='the-id2' EOF -SYSTEMD_OS_RELEASE="$root/etc/os-release2" check_alias o 'the-id2' +SYSTEMD_OS_RELEASE="/etc/os-release2" check_alias o 'the-id2' |