summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Admin')
-rw-r--r--src/lib/Server/Admin/Minestruct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Minestruct.py b/src/lib/Server/Admin/Minestruct.py
index 8f8be7e77..bd251dabf 100644
--- a/src/lib/Server/Admin/Minestruct.py
+++ b/src/lib/Server/Admin/Minestruct.py
@@ -8,7 +8,7 @@ class Minestruct(Bcfg2.Server.Admin.Mode):
Bcfg2.Server.Admin.Mode.__call__(self, args)
if len(args) != 1:
self.errExit("minestruct must be called with a client name")
- extra = self.MineStruct(args[1])
+ extra = self.MineStruct(args[0])
self.log.info("Found %d extra entries" % (len(extra)))
self.log.info(["%s: %s" % (entry.tag, entry.get('name')) for entry in extra])