From 1961664ec151439d896f90ffdb3b7bd6cbe18fb9 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Wed, 20 Apr 2016 14:50:25 -0400 Subject: qemu will abort if initrd.sh failed --- qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu.sh') diff --git a/qemu.sh b/qemu.sh index 0f3cb30..82c0c9f 100755 --- a/qemu.sh +++ b/qemu.sh @@ -4,7 +4,7 @@ # img=debian-live-8.4.0-amd64-standard.iso img=debian-live-8.4.0-amd64-standard.btrfs.iso -./initrd.sh +./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; }; # NET='user,tftp=isolinux,bootfile=/pxelinux.0' NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' -- cgit v1.2.3