mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Removed redundant if, added sudo to service cmd
This commit is contained in:
parent
9cb98c2853
commit
3408308c9d
1 changed files with 2 additions and 2 deletions
|
@ -314,10 +314,10 @@ if [ "${AUTODELETE}" == "yes" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${AUTOSTART}" == "yes" ]; then
|
if [ "${AUTOSTART}" == "yes" ]; then
|
||||||
if [ "${REDHAT}" == "no" ]; if [ "${AUTOINSTALL}" == "yes" ]; then
|
if [ "${REDHAT}" == "no" ]; then
|
||||||
echo "The AUTOSTART [-s] option may not be needed on your distribution."
|
echo "The AUTOSTART [-s] option may not be needed on your distribution."
|
||||||
fi
|
fi
|
||||||
service plexmediaserver start
|
sudo service plexmediaserver start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue