fixed bug when failing to detect service script
This commit is contained in:
parent
465b71cf57
commit
d0cb0d1124
@ -106,6 +106,7 @@ def restart_services():
|
|||||||
service_name = platform.identify_service_from_bin(service_exe)
|
service_name = platform.identify_service_from_bin(service_exe)
|
||||||
except sau.errors.UnknownServiceError:
|
except sau.errors.UnknownServiceError:
|
||||||
log.warning('Could not find service for process {}'.format(proc))
|
log.warning('Could not find service for process {}'.format(proc))
|
||||||
|
continue
|
||||||
|
|
||||||
services.add(service_name)
|
services.add(service_name)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user