From 42beaa25ed592bf85d2da9fa53200b882f7d010d Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Tue, 9 Apr 2019 21:09:09 +0200 Subject: [PATCH] fixed ignore option for process map --- sau/services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sau/services.py b/sau/services.py index b6aa3f0..3efd57a 100644 --- a/sau/services.py +++ b/sau/services.py @@ -114,8 +114,8 @@ def restart_services(): # we have already checked a process with this name continue - service_name = conf.get('processes', proc_name, fallback=False) - if service_name == None: + service_name = conf.get('processes', proc_name, fallback=None) + if service_name == '': log.debug('Ignoring process {}'.format(proc)) continue