From: Richard Jones Date: Wed, 13 May 2009 10:44:11 +0000 (+0100) Subject: Exit early from script on error. X-Git-Tag: 1.0.26~16 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=c1f9ecec84093ea64f30311246fc18849a1aa460;p=libguestfs.git Exit early from script on error. --- diff --git a/test-bootbootboot.sh b/test-bootbootboot.sh index 731f715..a0afa83 100755 --- a/test-bootbootboot.sh +++ b/test-bootbootboot.sh @@ -21,6 +21,8 @@ # which doesn't have the required KVM patches). Test repeatedly # booting. +set -e + dd if=/dev/zero of=test1.img bs=1024k count=500 n=20