From c839db72e8878c9bba9d4b65ec8cd18ab638eee5 Mon Sep 17 00:00:00 2001 From: Nicholas Wang Date: Wed, 25 Nov 2020 11:34:16 -0600 Subject: [PATCH] comply with shellcheck --- install-dat-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dat-release.sh b/install-dat-release.sh index 5794ae9..4ac7c09 100644 --- a/install-dat-release.sh +++ b/install-dat-release.sh @@ -30,7 +30,7 @@ check_if_running_as_root() { # If you want to run as another user, please modify $UID to be owned by this user if [[ "$UID" -ne '0' ]]; then echo "Warning: You are not root, and you may reach insufficient permission errors." - read -p "Are you sure you want to continue? [y/N] " prompt + read -r -p "Are you sure you want to continue? [y/N] " prompt if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]] then echo "Continuing the installation with current user..."