summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2023-01-04 21:52:48 -0800
committerWayne Davison <wayne@opencoder.net>2023-01-04 21:52:48 -0800
commit5c93dedf4538426982f8832fa9103f09a78a01ad (patch)
treebe53149e17611d6388b32334848cc42ca71c274f
parentf1e3434b59dd3dfbf4b6faf8dbc81dd068adc305 (diff)
downloadrsync-5c93dedf4538426982f8832fa9103f09a78a01ad.tar.gz
Add backtick to SHELL_CHARS.
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index ded0e7a3..c9c82527 100644
--- a/options.c
+++ b/options.c
@@ -2518,7 +2518,7 @@ static char SPLIT_ARG_WHEN_OLD[1];
**/
char *safe_arg(const char *opt, const char *arg)
{
-#define SHELL_CHARS "!#$&;|<>(){}\"' \t\\"
+#define SHELL_CHARS "!#$&;|<>(){}\"'` \t\\"
#define WILD_CHARS "*?[]" /* We don't allow remote brace expansion */
BOOL is_filename_arg = !opt;
char *escapes = is_filename_arg ? SHELL_CHARS : WILD_CHARS SHELL_CHARS;