aboutsummaryrefslogtreecommitdiffstats
path: root/backup.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-09-07 19:49:09 +0000
committerWayne Davison <wayned@samba.org>2004-09-07 19:49:09 +0000
commitf8c8ef9eacde65ae2e03512de734c6672d3f19f6 (patch)
treef99e04e596ff2f1d5f4cd2713d9afbf44ad3d198 /backup.c
parent72c19bb3de47c40fcd8d950805ed22689064db7c (diff)
downloadandroid_external_rsync-f8c8ef9eacde65ae2e03512de734c6672d3f19f6.tar.gz
android_external_rsync-f8c8ef9eacde65ae2e03512de734c6672d3f19f6.tar.bz2
android_external_rsync-f8c8ef9eacde65ae2e03512de734c6672d3f19f6.zip
When we say we're skipping a non-regular file, actually skip it.
Diffstat (limited to 'backup.c')
-rw-r--r--backup.c1
1 files changed, 1 insertions, 0 deletions
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 */