diff --git a/install-dat-release.sh b/install-dat-release.sh index 4ac7c09..9b3a165 100644 --- a/install-dat-release.sh +++ b/install-dat-release.sh @@ -31,8 +31,7 @@ check_if_running_as_root() { if [[ "$UID" -ne '0' ]]; then echo "Warning: You are not root, and you may reach insufficient permission errors." read -r -p "Are you sure you want to continue? [y/N] " prompt - if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]] - then + if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then echo "Continuing the installation with current user..." else echo "Not running with root, exiting..."