aboutsummaryrefslogtreecommitdiffstats
path: root/community/rssh/fix-error-message-for-invalid-option.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-30 15:45:47 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-30 15:45:47 +0100
commitbf57e9098049a430cb2fb630eced9701f13e1b98 (patch)
tree33280735468c9e23c55620ed146f580c9c390622 /community/rssh/fix-error-message-for-invalid-option.patch
parente01ae805e5b356a814c3e24e6ef2c1983422754e (diff)
downloadaports-bf57e9098049a430cb2fb630eced9701f13e1b98.tar.bz2
aports-bf57e9098049a430cb2fb630eced9701f13e1b98.tar.xz
community/rssh: move from testing
Diffstat (limited to 'community/rssh/fix-error-message-for-invalid-option.patch')
-rw-r--r--community/rssh/fix-error-message-for-invalid-option.patch18
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++;