https://bugzilla.samba.org/show_bug.cgi?id=10951

Wayne Davison <way...@samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Wayne Davison <way...@samba.org> ---
Since the command-line you mentioned is completely valid, there's no error for
rsync to complain about.  Your args specified "--exclude --exclude" (so that it
won't transfer a file named "--exclude") and then specified "/mnt" as a source
or destination arg (depending on where it appears in the list of args).

One thing you could possibly do to make the arg parsing stricter is to "export
POSIXLY_CORRECT=1" in the environment.  That makes popt stop parsing options at
the first non-option it finds, so something like "--exclude --exclude /mnt
--del /src/ /dest/" would at least complain about the file "--del" not existing
while it was copying /mnt and /src/ to /dest (though it doesn't stop the
copying from happening).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to