From e00dada09b56cab8acb2744b09d4db23e38dcbfe Mon Sep 17 00:00:00 2001 From: Chris Long Date: Mon, 16 Nov 2020 16:59:03 -0800 Subject: [PATCH] Add missing quotes --- Vagrant/logger_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrant/logger_bootstrap.sh b/Vagrant/logger_bootstrap.sh index 60e75f3..fc50061 100644 --- a/Vagrant/logger_bootstrap.sh +++ b/Vagrant/logger_bootstrap.sh @@ -176,7 +176,7 @@ install_splunk() { fi # Install a Splunk license if it was provided - if [ -n $BASE64_ENCODED_SPLUNK_LICENSE ]; then + if [ -n "$BASE64_ENCODED_SPLUNK_LICENSE" ]; then echo "$BASE64_ENCODED_SPLUNK_LICENSE" | base64 -d > /tmp/Splunk.License /opt/splunk/bin/splunk add licenses /tmp/Splunk.License -auth 'admin:changeme' rm /tmp/Splunk.License