From dc9bd5bdc33c99ad16f2af200949d3dc31273f51 Mon Sep 17 00:00:00 2001 From: rread Date: Thu, 22 Aug 2002 22:31:51 +0000 Subject: [PATCH] - fix child wait --- lustre/utils/lconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 4e11e37..d521e30 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -200,8 +200,8 @@ class LCTLInterface: p = popen2.Popen3(self.lctl, 1) p.tochild.write(cmds + "\n") p.tochild.close() + ret = p.wait() out = p.fromchild.readlines() - ret = p.poll() for l in out: debug('lctl:',string.strip(l)) err = p.childerr.readlines() @@ -350,7 +350,7 @@ def do_find_file(base, mod): def find_module(src_dir, modname): mod = '%s.o' % (modname) - search = (src_dir + "/lustre", src_dir + "/portals") + search = (src_dir + "/lustre", src_dir + "/portals/linux") for d in search: try: module = do_find_file(d, mod) -- 1.8.3.1