fixed bug when failing to detect service script

This commit is contained in:
2019-04-07 09:35:21 +02:00
parent 465b71cf57
commit d0cb0d1124

View File

@ -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)