Don't warn about lack of -l support if we're the sender -- we just won't
[rsync/rsync.git] / options.c
index 884165e..ce51386 100644 (file)
--- a/options.c
+++ b/options.c
@@ -581,7 +581,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
        }
 
 #if !SUPPORT_LINKS
-       if (preserve_links) {
+       if (preserve_links && !am_sender) {
                snprintf(err_buf, sizeof err_buf,
                         "symlinks are not supported on this %s\n",
                         am_server ? "server" : "client");