1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-29 06:50:16 +03:00

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

View File

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