[proc-exit-listener]: fix syntax error

the bug is introduced in commit 34cca20c

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
Guohan Lu 2021-02-02 03:58:20 -08:00
parent 0c4d4ace76
commit 3f2a39d583

View File

@ -42,7 +42,7 @@ def get_critical_group_and_process_list():
with open(CRITICAL_PROCESSES_FILE, 'r') as file:
for line in file:
# ignore blank lines
if re.match(r"^\s*$", line)
if re.match(r"^\s*$", line):
continue
line_info = line.strip(' \n').split(':')
if len(line_info) != 2: