summaryrefslogtreecommitdiffstats
path: root/cobbler/action_reposync.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/action_reposync.py')
-rw-r--r--cobbler/action_reposync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index 5cab392..9ff1753 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -84,7 +84,7 @@ class RepoSync:
os.makedirs(temp_path)
if not repo.mirror.lower().startswith("rhn://"):
- cmd = "/usr/bin/reposync --config=%s --repoid=%s --download_path=%s" % (temp_file, repo.name, store_path)
+ cmd = "/usr/bin/reposync --repoid=%s --download_path=%s" % (repo.name, store_path)
print "- %s" % cmd
else:
rest = repo.mirror[6:]