diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 19:06:38 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 19:06:38 +0200 |
commit | a76a1fe312dba303e3655a0aecb4904c406caaa0 (patch) | |
tree | 4df35114a43e67ffc582576e9fb0c9d715fa7c7e /plugins/plugin_mdadmconf.py | |
parent | b1553f9874b2e1c2140024c801f12aa068cd1e47 (diff) | |
download | firstaidkit-a76a1fe312dba303e3655a0aecb4904c406caaa0.tar.gz firstaidkit-a76a1fe312dba303e3655a0aecb4904c406caaa0.tar.xz firstaidkit-a76a1fe312dba303e3655a0aecb4904c406caaa0.zip |
Fix typo.
Diffstat (limited to 'plugins/plugin_mdadmconf.py')
-rw-r--r-- | plugins/plugin_mdadmconf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/plugin_mdadmconf.py b/plugins/plugin_mdadmconf.py index 246854b..9344c94 100644 --- a/plugins/plugin_mdadmconf.py +++ b/plugins/plugin_mdadmconf.py @@ -64,7 +64,7 @@ class MdadmConfig(Plugin): self._reporting.info("Scanning for software raid with mdadm.", level = PLUGIN, origin = self) mdadmargs = ["--misc", "--detail", "--scan"] - proc = spawnvch(executable = "mdamd", args = mdadmargs, + proc = spawnvch(executable = "mdadm", args = mdadmargs, chroot = Config.system.root) (out, err) = proc.communicate() @@ -102,7 +102,7 @@ class MdadmConfig(Plugin): # in the curren config file. for key, value in self.scannedFileDict.iteritems(): if not self.currentFileDict.has_key(key): - self._reporting.info("Found that the current mdamd.conf is " \ + self._reporting.info("Found that the current mdadm.conf is " \ "missing %s."%value, level = PLUGIN, origin = self) self._result = ReturnFailure return @@ -148,7 +148,7 @@ class MdadmConfig(Plugin): # mdadm.conf.firstaidkit, just in case. self._reporting.info("Will put the old mdadm.conf in %s."% os.path.join(Config.system.root, - "etc/mdamd.conf.firstaidkit"), + "etc/mdadm.conf.firstaidkit"), level = PLUGIN, origin = self) self.backupSpace.restoreName(self.configFile, path = self.configFile+".firstaidkit") |