diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2020-08-27 00:08:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-08-27 17:14:58 +0200 |
commit | f17bdf8264e231fa31c769bff2475ef698487d0b (patch) | |
tree | 5ac8df35b802f4da95010bba394e36cdccc7f398 /src/partition | |
parent | Merge pull request #16864 from yuwata/coverity-fixes (diff) | |
download | systemd-f17bdf8264e231fa31c769bff2475ef698487d0b.tar.xz systemd-f17bdf8264e231fa31c769bff2475ef698487d0b.zip |
Don't run test-repart when loop devices are not available
Diffstat (limited to 'src/partition')
-rwxr-xr-x | src/partition/test-repart.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/partition/test-repart.sh b/src/partition/test-repart.sh index 8b1ec6c4c1..5765978290 100755 --- a/src/partition/test-repart.sh +++ b/src/partition/test-repart.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -ex +[[ -f /dev/loop-control ]] || exit 77 + repart=$1 test -x $repart |