]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Make daemon-exclude errors more error-like.
authorWayne Davison <wayned@samba.org>
Sat, 18 Jun 2011 19:44:26 +0000 (12:44 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 18 Jun 2011 19:44:47 +0000 (12:44 -0700)
Fixes bug 7765.

generator.c
main.c

index 88a762aacd14729194d139da472d1169e06055dd..d7e1ba8580bada7d578bb271fb7de2a6da2a0cd8 100644 (file)
@@ -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 b6cc6bdea333de092a046bb1c8264f69ea3c5c2a..e23e570af90e32d51f62d1767f2d20e1b1986ccc 100644 (file)
--- 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);
                }