From 30594ea795de9d032638cede3331e0ecbaa5aea7 Mon Sep 17 00:00:00 2001 From: Michael Zemsky Date: Thu, 2 Nov 2017 18:18:12 -0700 Subject: [PATCH] Fixed typo Fixed a typo which prevented ombi from starting after completing the update when the script user is set to root --- update_ombi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"