typo fix
parent
33c2f93ca2
commit
c12d93ffdd
|
@ -29,7 +29,7 @@ curl() {
|
||||||
check_if_running_as_root() {
|
check_if_running_as_root() {
|
||||||
# If you want to run as another user, please modify $UID to be owned by this user
|
# If you want to run as another user, please modify $UID to be owned by this user
|
||||||
if [[ "$UID" -ne '0' ]]; then
|
if [[ "$UID" -ne '0' ]]; then
|
||||||
echo "Warning: You are root, and you may reach insufficient permission errors."
|
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 -p "Are you sure you want to continue? [y/N] " prompt
|
||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
|
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue