diff options
Diffstat (limited to 'community/rssh/fix-error-message-for-invalid-option.patch')
-rw-r--r-- | community/rssh/fix-error-message-for-invalid-option.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/community/rssh/fix-error-message-for-invalid-option.patch b/community/rssh/fix-error-message-for-invalid-option.patch new file mode 100644 index 0000000000..10ed0583f3 --- /dev/null +++ b/community/rssh/fix-error-message-for-invalid-option.patch @@ -0,0 +1,18 @@ +From: Russ Allbery <rra@debian.org> +Subject: [PATCH] Fix error message from invalid options + +Don't refer to all invalid options as invalid scp options. + +Signed-off-by: Russ Allbery <rra@debian.org> + +--- a/util.c ++++ b/util.c +@@ -152,7 +152,7 @@ bool opt_filter(char **vec, const char opt) + while (vec && *vec){ + if (opt_exist(*vec, opt)){ + fprintf(stderr, "\nillegal insecure %c option", opt); +- log_msg("insecure %c option in scp command line!", opt); ++ log_msg("insecure %c option in command line!", opt); + return TRUE; + } + vec++; |