From 5e94a5506934600b10e4146172fdaa6d49d88f7a Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Fri, 28 Jul 2017 14:39:53 -0700 Subject: [PATCH] build_library: Add missing die function Signed-off-by: Geoff Levand --- build_library/qemu_template.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_library/qemu_template.sh b/build_library/qemu_template.sh index 75741a7470..4648fcd513 100755 --- a/build_library/qemu_template.sh +++ b/build_library/qemu_template.sh @@ -39,6 +39,11 @@ Any arguments after -a and -p will be passed through to qemu, -- may be used as an explicit separator. See the qemu(1) man page for more details. " +die(){ + echo "${1}" + exit 1 +} + check_conflict() { if [ -n "${CLOUD_CONFIG_FILE}${CONFIG_IMAGE}${SSH_KEYS}" ]; then echo "The -u -c and -a options cannot be combined!" >&2