summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/sbin/bcfg2-info2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 56503ab5b..dcd78fd24 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -75,7 +75,7 @@ Usage: [quit|exit]"""
def do_build(self, args):
'''build client configuration'''
- if len(args.split()) != 2:
+ if len(args.split()) == 2:
client, ofile = args.split()
output = open(ofile, 'w')
data = lxml.etree.tostring(self.BuildConfiguration(client))