comply with shellcheck

pull/184/head
Nicholas Wang 2020-11-25 11:34:16 -06:00 committed by GitHub
parent c12d93ffdd
commit c839db72e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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..."