summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-03-06 20:17:16 +0000
committerlulf <lulf@FreeBSD.org>2009-03-06 20:17:16 +0000
commitab7611c43227793f4651a7d0becbc5c1e66e4526 (patch)
tree4f3789088d78392789a58b3a439919535a9c3927 /contrib
parentb5b061b75beabed75552bc163a30933c7a602779 (diff)
downloadFreeBSD-src-ab7611c43227793f4651a7d0becbc5c1e66e4526.zip
FreeBSD-src-ab7611c43227793f4651a7d0becbc5c1e66e4526.tar.gz
- Try to handle rcsfile write failures in the same way as cvsup, as they are not
necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/csup/updater.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/updater.c b/contrib/csup/updater.c
index 20544ec..40122ac 100644
--- a/contrib/csup/updater.c
+++ b/contrib/csup/updater.c
@@ -1682,7 +1682,7 @@ updater_rcsedit(struct updater *up, struct file_update *fup, char *name,
stream_close(dest);
rcsfile_free(rf);
if (error)
- return (UPDATER_ERR_PROTO);
+ lprintf(-1, "Error writing %s\n", name);
finish:
sr->sr_clientattr = fattr_frompath(path, FATTR_NOFOLLOW);
OpenPOWER on IntegriCloud