summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: