summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-07-20 16:00:07 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-07-20 16:00:07 +0000
commita0bd7b9fcd82faa63c7a745798aff5f0f48a9bb6 (patch)
tree56b7d2cbbbd161111ca5746180b632da3dc84afa /src/sbin
parent25db0d11d3fc3ef23d155050026751a22be1853c (diff)
downloadbcfg2-a0bd7b9fcd82faa63c7a745798aff5f0f48a9bb6.tar.gz
bcfg2-a0bd7b9fcd82faa63c7a745798aff5f0f48a9bb6.tar.bz2
bcfg2-a0bd7b9fcd82faa63c7a745798aff5f0f48a9bb6.zip
Fix bcfg2-info build command
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3523 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-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))