Merge pull request #3511 from Security-Onion-Solutions/fix/elastic-license-agree

Make the Elastic license prompt case insensitive
This commit is contained in:
Mike Reeves
2021-03-17 16:57:32 -04:00
committed by GitHub

View File

@@ -140,7 +140,7 @@ EOM
AGREED=$(whiptail --title "Security Onion Setup" --inputbox \
"$message" 20 75 3>&1 1>&2 2>&3)
if [ "$AGREED" = 'AGREE' ]; then
if [ "${AGREED^^}" = 'AGREE' ]; then
mkdir -p /opt/so/state
touch /opt/so/state/yeselastic.txt
else