diff options
author | Wayne Davison <wayned@samba.org> | 2011-06-18 12:44:26 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2011-06-18 12:44:26 -0700 |
commit | 5bfe00688206cde3cbc603e8d47b28788a19ca3a (patch) | |
tree | 50cab8dbea05e89b1c240ea6016ca9409780a495 | |
parent | 852585b1fced8d0df35b14c17f26c4aac633313b (diff) | |
download | android_external_rsync-5bfe00688206cde3cbc603e8d47b28788a19ca3a.tar.gz android_external_rsync-5bfe00688206cde3cbc603e8d47b28788a19ca3a.tar.bz2 android_external_rsync-5bfe00688206cde3cbc603e8d47b28788a19ca3a.zip |
Make daemon-exclude errors more error-like.
Fixes bug 7765.
-rw-r--r-- | generator.c | 2 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/generator.c b/generator.c index b8d930e6..84913007 100644 --- a/generator.c +++ b/generator.c @@ -1178,7 +1178,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; @@ -594,7 +594,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); } |