Make the Elastic license prompt case insensitive

This commit is contained in:
William Wernert
2021-03-17 16:55:34 -04:00
parent 8fd3f102f1
commit 7da027abc1

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