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:
84460f7
)
b=2618
author
nic
<nic>
Thu, 12 Feb 2004 20:13:10 +0000
(20:13 +0000)
committer
nic
<nic>
Thu, 12 Feb 2004 20:13:10 +0000
(20:13 +0000)
r=shaver
get lconf to panic() when no host entry is found. using panic() will prevent
lconf from exiting cleanly when this happens.
lustre/utils/lconf
patch
|
blob
|
history
diff --git
a/lustre/utils/lconf
b/lustre/utils/lconf
index
86ff367
..
4e6b2ea
100755
(executable)
--- a/
lustre/utils/lconf
+++ b/
lustre/utils/lconf
@@
-2228,8
+2228,7
@@
def doHost(lustreDB, hosts):
if node_db:
break
if not node_db:
- print 'No host entry found.'
- return
+ panic('No host entry found.')
local_node_name = node_db.get_val('name', 0)
is_router = node_db.get_val_int('router', 0)