X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/dc55d7bdabb5a5d5c8cc97794171b485e4f75f19..09e2bbce8a300a65d34d8f74dffbaa34de1955c7:/receiver.c diff --git a/receiver.c b/receiver.c index 7b86938d..3ce55286 100644 --- a/receiver.c +++ b/receiver.c @@ -65,10 +65,6 @@ static void delete_one(char *fn, int is_dir) rprintf(FINFO, "deleting %s\n", safe_fname(fn)); } else { if (do_rmdir(fn) != 0) { - if (errno == ENOTDIR && keep_dirlinks) { - delete_one(fn, 0); - return; - } if (errno != ENOTEMPTY && errno != EEXIST) { rsyserr(FERROR, errno, "delete_one: rmdir %s failed",