From dd0155d1aa366063b99471d844a54d68911ee919 Mon Sep 17 00:00:00 2001 From: Nicholas Wang Date: Wed, 25 Nov 2020 13:05:06 -0600 Subject: [PATCH] comply with shellcheck --- install-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-release.sh b/install-release.sh index c4c6463..723bbd3 100644 --- a/install-release.sh +++ b/install-release.sh @@ -49,7 +49,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..."