Skip to content

Commit 7bdaa21

Browse files
author
Sheng Yang
committed
Add error check for buildsystemvm.sh
set -e can stop the script if something went wrong. set -u can stop on uninitialized variable reference.
1 parent aad64a5 commit 7bdaa21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎patches/systemvm/debian/buildsystemvm.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323

2424
set -x
25+
set -u
26+
set -e
2527

2628
IMAGENAME=systemvm
2729
LOCATION=/var/lib/images/systemvm

0 commit comments

Comments
 (0)