Add error check for buildsystemvm.sh

set -e can stop the script if something went wrong. set -u can stop on
uninitialized variable reference.
This commit is contained in:
Sheng Yang 2011-05-16 13:57:05 -07:00
parent aad64a5170
commit 7bdaa210a1
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@
set -x
set -u
set -e
IMAGENAME=systemvm
LOCATION=/var/lib/images/systemvm