X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a7260c403733b10e3d25abf334441f3ed4cc3b91..33eff8bfd6c1fc221142c7afd5a7874976330db2:/receiver.c diff --git a/receiver.c b/receiver.c index 1118beb7..8cb29196 100644 --- a/receiver.c +++ b/receiver.c @@ -426,13 +426,8 @@ int recv_files(int f_in, struct file_list *flist, char *local_name) if (server_exclude_list.head && check_exclude(&server_exclude_list, fname, S_ISDIR(file->mode)) < 0) { - if (verbose) { - rprintf(FINFO, - "skipping server-excluded update for \"%s\"\n", - safe_fname(fname)); - } - discard_receive_data(f_in, file->length); - continue; + rprintf(FERROR, "attempt to hack rsync failed.\n"); + exit_cleanup(RERR_PROTOCOL); } if (partial_dir) {