diff --git a/dracut/simple/init.sh b/dracut/simple/init.sh index 5446ab7..2572c5e 100644 --- a/dracut/simple/init.sh +++ b/dracut/simple/init.sh @@ -12,6 +12,10 @@ fi modprobe xenblk || modprobe xen-blkfront || echo "Qubes: Cannot load Xen Block Frontend..." +die() { + echo "$@" >&2 + exit 1 +} echo "Waiting for /dev/xvda* devices..." while ! [ -e /dev/xvda ]; do sleep 0.1; done