Browse Source

Merge pull request #26562 from loa/master

Add errexit to mkimage-yum.sh
Tõnis Tiigi 8 years ago
parent
commit
094c029207
1 changed files with 2 additions and 0 deletions
  1. 2 0
      contrib/mkimage-yum.sh

+ 2 - 0
contrib/mkimage-yum.sh

@@ -6,6 +6,8 @@
 # a CentOS image on CentOS).  See contrib/mkimage-rinse.sh for a way
 # to build CentOS images on other systems.
 
+set -e
+
 usage() {
     cat <<EOOPTS
 $(basename $0) [OPTIONS] <name>