From: nic Date: Thu, 12 Feb 2004 20:13:10 +0000 (+0000) Subject: b=2618 X-Git-Tag: v1_7_100~2594 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=3105a8bacd06d31a0b0f9d38de3ee182628a5f62;ds=sidebyside b=2618 r=shaver get lconf to panic() when no host entry is found. using panic() will prevent lconf from exiting cleanly when this happens. --- diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 86ff367..4e6b2ea 100755 --- 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)