diff --git a/update_ombi.sh b/update_ombi.sh index 4358a8c..79268d3 100644 --- a/update_ombi.sh +++ b/update_ombi.sh @@ -176,7 +176,7 @@ if [ $running -eq 1 ]; then while [ $i -le $j ] do if [ $scriptuser = "root" ]; then - systemctl systemctl start $ombiservicename.service > /dev/null 2>&1 + systemctl start $ombiservicename.service > /dev/null 2>&1 else sudo systemctl start $ombiservicename.service > /dev/null 2>&1 fi @@ -203,4 +203,4 @@ fi .log 6 "Cleaning up..." rm -rf "$tempdir"/* "$tempdir" -.log 6 "Update complete" \ No newline at end of file +.log 6 "Update complete"