Explorar o código

Merge pull request #26562 from loa/master

Add errexit to mkimage-yum.sh
Tõnis Tiigi %!s(int64=8) %!d(string=hai) anos
pai
achega
094c029207
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>