[Bug 13901] Empty quotes adds cwd to SRC directories

samba-bugs at samba.org samba-bugs at samba.org
Mon Jul 27 21:55:32 UTC 2020


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

Wayne Davison <wayne at opencoder.net> changed:

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

--- Comment #2 from Wayne Davison <wayne at opencoder.net> ---
While I also agree that you want to build in unset-var safety into your scripts
(I a zsh option set that makes all unset vars fatal, for instance), I do also
agree that specifying a totally empty arg to rsync is not useful, so I made
rsync complain about it.  This doesn't change an arg such as "host:" implying
the home directory, so it won't help to safeguard a "$HOST:$DIR" expansion.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the rsync mailing list