From 3b7d2fee2bb31eb93e34aba0fab2bba283ae7025 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sat, 4 Aug 2018 03:54:00 +0200 Subject: [PATCH] Fix undefined variable warn_msg on amd64 Fixes: 6ad614bd Signed-off-by: Alexandru Avadanii --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 7279aa0..6005a83 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1353,7 +1353,7 @@ __check_dpkg_architecture() { ;; esac - if [ "${warn_msg}" != "" ]; then + if [ "${warn_msg:-}" != "" ]; then # AArch64: Do not fail at this point, but warn the user about experimental support # See https://github.com/saltstack/salt-bootstrap/issues/1240 echowarn "${warn_msg}"