diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-21 15:45:18 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-21 15:45:18 +0000 |
commit | 514ead92ea6bcf99c491cf6837470927e9555cfc (patch) | |
tree | e10ac046f2caa786ce07bcc4e238d912a6a99850 /usr.sbin/pkg | |
parent | 9d569918e66ff3a5b751ab06cfd578738165f37e (diff) | |
download | src-514ead92ea6bcf99c491cf6837470927e9555cfc.tar.gz src-514ead92ea6bcf99c491cf6837470927e9555cfc.zip |
Add missing \n when generating pkg.conf
Reported by: beat
Approved by: des (mentor)
MFC after: 1 day
Notes
Notes:
svn path=/head/; revision=235726
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r-- | usr.sbin/pkg/pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index e0bc4b3b5d44..b6c0207ed061 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -371,7 +371,7 @@ bootstrap_pkg(void) config = fopen(conf, "w+"); if (config == NULL) goto cleanup; - fprintf(config, "packagesite: %s", url); + fprintf(config, "packagesite: %s\n", url); fclose(config); } |