From 3b4ad59cd7abf57a86b008a8d4aa4550da1f3b67 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 7 Nov 2019 15:59:31 +0100 Subject: [PATCH] Propagate removal of 'active' to that piece of code that uses it --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 443b14565..4e49c64dd 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -3140,7 +3140,7 @@ def _assert_system_is_sane_for_app(manifest, when): services.append("fail2ban") # List services currently down and raise an exception if any are found - faulty_services = [s for s in services if service_status(s)["active"] != "active"] + faulty_services = [s for s in services if service_status(s)["status"] != "running"] if faulty_services: if when == "pre": raise YunohostError('app_action_cannot_be_ran_because_required_services_down',