Add missing quotes
This commit is contained in:
@@ -176,7 +176,7 @@ install_splunk() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install a Splunk license if it was provided
|
# 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
|
echo "$BASE64_ENCODED_SPLUNK_LICENSE" | base64 -d > /tmp/Splunk.License
|
||||||
/opt/splunk/bin/splunk add licenses /tmp/Splunk.License -auth 'admin:changeme'
|
/opt/splunk/bin/splunk add licenses /tmp/Splunk.License -auth 'admin:changeme'
|
||||||
rm /tmp/Splunk.License
|
rm /tmp/Splunk.License
|
||||||
|
|||||||
Reference in New Issue
Block a user