mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-03 01:17:45 +03:00
test-repart: append /sbin and /usr/sbin to $PATH= to make sfdisk can be found
Fixes #21972.
(cherry picked from commit 329a5b91d9
)
This commit is contained in:
parent
6f1f99a35d
commit
80f1b9ab54
@ -8,6 +8,8 @@ set -o pipefail
|
||||
repart="${1:?}"
|
||||
test -x "$repart"
|
||||
|
||||
PATH=$PATH:/sbin:/usr/sbin
|
||||
|
||||
D="$(mktemp --tmpdir --directory "test-repart.XXXXXXXXXX")"
|
||||
|
||||
# shellcheck disable=SC2064
|
||||
|
Loading…
Reference in New Issue
Block a user