Fix undefined variable warn_msg on amd64

Fixes: 6ad614bd

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
This commit is contained in:
Alexandru Avadanii 2018-08-04 03:54:00 +02:00
parent 7d4e68622b
commit 3b7d2fee2b
No known key found for this signature in database
GPG key ID: 2707869B060FC8D9

View file

@ -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}"