Whamcloud - gitweb
avoid setting timeout to zero
authorpschwan <pschwan>
Fri, 20 Dec 2002 20:16:14 +0000 (20:16 +0000)
committerpschwan <pschwan>
Fri, 20 Dec 2002 20:16:14 +0000 (20:16 +0000)
lustre/utils/lconf.in

index 170c5d0..c4cb3c8 100755 (executable)
@@ -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)