diff --git a/omv_backup.py b/omv_backup.py index 256e198..3d1cc5a 100644 --- a/omv_backup.py +++ b/omv_backup.py @@ -217,7 +217,7 @@ if _RESTORE: if ans == "y" and _EXECUTE: status, output = subprocess.getstatusoutput(cmnd) - if _APP == "nginx": + if app == "nginx": print("Stopping docker") cmnd = "docker stop nginx-app-1" status, output = subprocess.getstatusoutput(cmnd)