From e950b8a60c191ad3c6b61621656c4b686c872c50 Mon Sep 17 00:00:00 2001 From: Nicholas Wang Date: Wed, 25 Nov 2020 13:03:08 -0600 Subject: [PATCH] comply with shellcheck --- install-release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install-release.sh b/install-release.sh index 6fab3eb..c4c6463 100644 --- a/install-release.sh +++ b/install-release.sh @@ -49,8 +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..."