Don't run test-repart when loop devices are not available

This commit is contained in:
Daan De Meyer 2020-08-26 23:08:52 +01:00 committed by Lennart Poettering
parent df92f4fa8d
commit f17bdf8264
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -ex
[[ -f /dev/loop-control ]] || exit 77
repart=$1
test -x $repart