diff --git a/reposync/runreposync.sh b/reposync/runreposync.sh
index 2f9f88830b44429192efe7d10fd73b91718d2778..a77f325e829fc806c7ddf8027f8b9bf8083590c9 100755
--- a/reposync/runreposync.sh
+++ b/reposync/runreposync.sh
@@ -26,7 +26,7 @@ echo $REPOFILE | base64 -d >> /etc/yum.repos.d/sync.repo
 
 # Don't try to download asynchronously
 # There's a crappy bug in that async code somewhere, this avoids it
-echo "async=0" >> /etc/yum.repos.d/sync.repo
+printf "\nasync=0\n" >> /etc/yum.repos.d/sync.repo
 
 REPOPATH="/repo/${REPOPATH}"