From: Wayne Davison Date: Tue, 7 Sep 2004 19:49:09 +0000 (+0000) Subject: When we say we're skipping a non-regular file, actually skip it. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f8c8ef9eacde65ae2e03512de734c6672d3f19f6 When we say we're skipping a non-regular file, actually skip it. --- diff --git a/backup.c b/backup.c index bf98f746..05f53601 100644 --- a/backup.c +++ b/backup.c @@ -228,6 +228,7 @@ static int keep_backup(char *fname) if (!kept && !S_ISREG(file->mode)) { rprintf(FINFO, "make_bak: skipping non-regular file %s\n", fname); + return 1; } /* move to keep tree if a file */