summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-06-18 12:44:26 -0700
committerWayne Davison <wayned@samba.org>2011-06-18 12:44:47 -0700
commit33e37a49baf7a3d65025c10a1899741d201a3f2c (patch)
treec3a54daf745f8db092e50b2ac6d908ab7dede437
parent5782ac04d7dfade1cb751ab6deaeea60b3d0f15b (diff)
downloadrsync-33e37a49baf7a3d65025c10a1899741d201a3f2c.tar.gz
Make daemon-exclude errors more error-like.
Fixes bug 7765.
-rw-r--r--generator.c2
-rw-r--r--main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/generator.c b/generator.c
index 88a762aa..d7e1ba85 100644
--- a/generator.c
+++ b/generator.c
@@ -1355,7 +1355,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
handle_skipped_hlink(file, itemizing, code, f_out);
#endif
rprintf(FERROR_XFER,
- "skipping daemon-excluded %s \"%s\"\n",
+ "ERROR: daemon refused to receive %s \"%s\"\n",
is_dir ? "directory" : "file", fname);
if (is_dir)
goto skipping_dir_contents;
diff --git a/main.c b/main.c
index b6cc6bde..e23e570a 100644
--- a/main.c
+++ b/main.c
@@ -526,7 +526,7 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
if ((*dest_path != '.' || dest_path[1] != '\0')
&& (check_filter(&daemon_filter_list, FLOG, dest_path, 0) < 0
|| check_filter(&daemon_filter_list, FLOG, dest_path, 1) < 0)) {
- rprintf(FERROR, "skipping daemon-excluded destination \"%s\"\n",
+ rprintf(FERROR, "ERROR: daemon has excluded destination \"%s\"\n",
dest_path);
exit_cleanup(RERR_FILESELECT);
}