From c1f9ecec84093ea64f30311246fc18849a1aa460 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 13 May 2009 11:44:11 +0100 Subject: [PATCH] Exit early from script on error. --- test-bootbootboot.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.3.1