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

This commit is contained in:
Daan De Meyer
2020-08-27 17:14:58 +02:00
committed by Lennart Poettering
parent df92f4fa8d
commit f17bdf8264
+2
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -ex
[[ -f /dev/loop-control ]] || exit 77
repart=$1
test -x $repart