From d0cb0d1124ee1216d01772ca89bae3440b945395 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 7 Apr 2019 09:35:21 +0200 Subject: [PATCH] fixed bug when failing to detect service script --- sau/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sau/services.py b/sau/services.py index 89ff04e..8ec54e1 100644 --- a/sau/services.py +++ b/sau/services.py @@ -106,6 +106,7 @@ def restart_services(): service_name = platform.identify_service_from_bin(service_exe) except sau.errors.UnknownServiceError: log.warning('Could not find service for process {}'.format(proc)) + continue services.add(service_name)