From b220f963934f69044a39109fa065a95cd0972183 Mon Sep 17 00:00:00 2001 From: Hideo Yamauchi Date: Fri, 2 Jul 2021 09:09:49 +0900 Subject: [PATCH] Mid: fence_sbd: A warning message is output when disable-timeout is enabled. --- agents/sbd/fence_sbd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/sbd/fence_sbd.py b/agents/sbd/fence_sbd.py index 3ae8df6e3..0c876b16e 100644 --- a/agents/sbd/fence_sbd.py +++ b/agents/sbd/fence_sbd.py @@ -398,7 +398,7 @@ def main(): # then that defined within sbd we should report this. power_timeout = int(options["--power-timeout"]) sbd_msg_timeout = get_msg_timeout(options) - if power_timeout <= sbd_msg_timeout: + if 0 < power_timeout <= sbd_msg_timeout: logging.warn("power timeout needs to be \ greater then sbd message timeout")