mirror of https://github.com/apache/cloudstack.git
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:
parent
aad64a5170
commit
7bdaa210a1
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
|
||||
set -x
|
||||
set -u
|
||||
set -e
|
||||
|
||||
IMAGENAME=systemvm
|
||||
LOCATION=/var/lib/images/systemvm
|
||||
|
|
|
|||
Loading…
Reference in New Issue