summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-05-09 22:29:37 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-05-09 22:29:37 +0000
commit7cc4b1b3eb823d9f6550902d81c5b8e3a96d247c (patch)
treee48d8a9b7840103f510ae550562f55b88bbd0079 /src/sbin
parent8adfe17bdd50d32f19ebadefa7c1f26553590b46 (diff)
downloadbcfg2-7cc4b1b3eb823d9f6550902d81c5b8e3a96d247c.tar.gz
bcfg2-7cc4b1b3eb823d9f6550902d81c5b8e3a96d247c.tar.bz2
bcfg2-7cc4b1b3eb823d9f6550902d81c5b8e3a96d247c.zip
fix bcfg2-admin init
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3115 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index 3cd470f78..cc0fff7b5 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -526,7 +526,7 @@ if __name__ == '__main__':
Repopath = arg
# ...then do something with the other arguments
- if Repopath == '':
+ if Repopath == '' and 'init' not in args:
Repopath = get_repo_path(configfile)
if len(args) < 1: