From f8c8ef9eacde65ae2e03512de734c6672d3f19f6 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 7 Sep 2004 19:49:09 +0000 Subject: [PATCH] When we say we're skipping a non-regular file, actually skip it. --- backup.c | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.34.1