diff --git a/scripts/elastic-upgrade.sh b/scripts/elastic-upgrade.sh index e7a8aaf93..5d67aa5fa 100755 --- a/scripts/elastic-upgrade.sh +++ b/scripts/elastic-upgrade.sh @@ -12,8 +12,9 @@ config() { if [ "$(whoami)" = "root" ] then - echo "Please do not run this script as root, elevation will be prompted if needed." - exit 1 + echo "It is not recommended to run this script as root. As a normal user, elevation will be prompted if needed." + read -rp "Continue anyway? (y/n) " confirm