Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b86ec24
)
avoid setting timeout to zero
author
pschwan
<pschwan>
Fri, 20 Dec 2002 20:16:14 +0000
(20:16 +0000)
committer
pschwan
<pschwan>
Fri, 20 Dec 2002 20:16:14 +0000
(20:16 +0000)
lustre/utils/lconf.in
patch
|
blob
|
history
diff --git
a/lustre/utils/lconf.in
b/lustre/utils/lconf.in
index
170c5d0
..
c4cb3c8
100755
(executable)
--- 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)