From: rread Date: Thu, 22 Aug 2002 22:31:51 +0000 (+0000) Subject: - fix child wait X-Git-Tag: 0.5.5~72 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=dc9bd5bdc33c99ad16f2af200949d3dc31273f51;p=fs%2Flustre-release.git - fix child wait --- 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)