Don't warn about lack of -l support if we're the sender -- we just won't
authorWayne Davison <wayned@samba.org>
Mon, 2 Feb 2004 21:33:10 +0000 (21:33 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 2 Feb 2004 21:33:10 +0000 (21:33 +0000)
send the receiver any symlinks.

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");