mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Add errexit to mkimage-yum.sh
Add errexit to mkimage-yum bash script to abort early. This to prevent disaster when mktemp fails and leave $target variable empty. Signed-off-by: Carl Loa Odin <carlodin@gmail.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user