From: rread Date: Tue, 3 Sep 2002 23:04:22 +0000 (+0000) Subject: * fix module cleanup, previous commit broke it X-Git-Tag: 0.5.6~14 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b32bce12a3275cd4c955168e0cde98426382960b;p=fs%2Flustre-release.git * fix module cleanup, previous commit broke it --- diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 5449d55..ca0745c 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -629,7 +629,7 @@ class Module: """Unload the modules in the list in reverse order.""" rev = self.kmodule_list rev.reverse() - for mod in rev: + for dev_dir, mod in rev: if not self.mod_loaded(mod): continue log('unloading module:', mod)