fixed ignore option for process map

This commit is contained in:
Fredrik Eriksson 2019-04-09 21:09:09 +02:00
parent c16cdec7c4
commit 42beaa25ed
No known key found for this signature in database
GPG Key ID: 8825C73A0FD1502A

View File

@ -114,8 +114,8 @@ def restart_services():
# we have already checked a process with this name # we have already checked a process with this name
continue continue
service_name = conf.get('processes', proc_name, fallback=False) service_name = conf.get('processes', proc_name, fallback=None)
if service_name == None: if service_name == '':
log.debug('Ignoring process {}'.format(proc)) log.debug('Ignoring process {}'.format(proc))
continue continue