From 7d899424a8c5c18f640b13c096d266b7d468e777 Mon Sep 17 00:00:00 2001 From: pschwan Date: Fri, 20 Dec 2002 20:16:14 +0000 Subject: [PATCH] avoid setting timeout to zero --- lustre/utils/lconf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/utils/lconf.in b/lustre/utils/lconf.in index 170c5d0..c4cb3c8 100755 --- a/lustre/utils/lconf.in +++ b/lustre/utils/lconf.in @@ -1793,9 +1793,9 @@ def sys_set_recovery_upcall(upcall): def sys_set_timeout(timeout): # the command overrides the value in the node config - if config.timeout() >= 0: + if config.timeout() > 0: timeout = config.timeout() - if timeout >= 0: + if timeout > 0: debug("setting timeout:", timeout) sysctl('lustre/timeout', timeout) -- 1.8.3.1