Don't run test-repart when loop devices are not available
This commit is contained in:
parent
df92f4fa8d
commit
f17bdf8264
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
[[ -f /dev/loop-control ]] || exit 77
|
||||
|
||||
repart=$1
|
||||
test -x $repart
|
||||
|
||||
|
|
Loading…
Reference in a new issue