mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 05:13:19 -07:00
Changed text since we were contradicting ourselves
Don't run as root, but do run as root :)
This commit is contained in:
parent
9f3aa6bd0f
commit
f2bcbd5a9d
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ save_config() {
|
|||
|
||||
if [ $EUID -ne 0 ]; then
|
||||
echo
|
||||
echo "This script needs to be run with root/sudo, but you are running as '$(whoami)'. Enabling sudo."
|
||||
echo "This script needs to install files in system locations and will need to additional permissions (root) from you to continue."
|
||||
sudo -v || abort "Root permissions are required for setup, cannot continue"
|
||||
elif [ ! -z "$SUDO_USER" ]; then
|
||||
echo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue