Fixed typo

Fixed a typo which prevented ombi from starting after completing the update when the script user is set to root
This commit is contained in:
Michael Zemsky 2017-11-02 18:18:12 -07:00 committed by GitHub
commit 30594ea795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,7 @@ if [ $running -eq 1 ]; then
while [ $i -le $j ] while [ $i -le $j ]
do do
if [ $scriptuser = "root" ]; then if [ $scriptuser = "root" ]; then
systemctl systemctl start $ombiservicename.service > /dev/null 2>&1 systemctl start $ombiservicename.service > /dev/null 2>&1
else else
sudo systemctl start $ombiservicename.service > /dev/null 2>&1 sudo systemctl start $ombiservicename.service > /dev/null 2>&1
fi fi