diff options
author | Richard Jones <rjones@redhat.com> | 2009-05-13 11:44:11 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-05-13 11:44:11 +0100 |
commit | c1f9ecec84093ea64f30311246fc18849a1aa460 (patch) | |
tree | cd8df145196519a5e1f54b6d82ca183ca46226eb | |
parent | 1ed352b5dd07ee6068e0255e17bf81dc609af702 (diff) | |
download | libguestfs-c1f9ecec84093ea64f30311246fc18849a1aa460.tar.gz libguestfs-c1f9ecec84093ea64f30311246fc18849a1aa460.tar.xz libguestfs-c1f9ecec84093ea64f30311246fc18849a1aa460.zip |
Exit early from script on error.
-rwxr-xr-x | test-bootbootboot.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test-bootbootboot.sh b/test-bootbootboot.sh index 731f715e..a0afa834 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 |