From 6240affbb51291789cde269a9cd57833e7d7b75c Mon Sep 17 00:00:00 2001 From: Meir Levin Date: Sun, 3 Jul 2022 19:40:40 +0300 Subject: [PATCH] CR fixes --- DataConnectors/CEF/cef_AMA_troubleshoot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataConnectors/CEF/cef_AMA_troubleshoot.py b/DataConnectors/CEF/cef_AMA_troubleshoot.py index f9ce4918a0..bfe24adb15 100644 --- a/DataConnectors/CEF/cef_AMA_troubleshoot.py +++ b/DataConnectors/CEF/cef_AMA_troubleshoot.py @@ -423,7 +423,7 @@ class SyslogDaemonVerifications(ColorfulPrint): command_object = BasicCommand(command_name, command_to_run, result_keywords_array) command_object.run_command() command_object.is_command_successful() - if command_object.is_successful is True or command_object.is_successful == "Warn": + if command_object.is_successful is not False: command_object.document_result() if command_object.is_successful == "Warn": command_object.print_warning(command_object.command_result_err)