aboutsummaryrefslogtreecommitdiffstats
path: root/community/rssh/fix-error-message-for-invalid-option.patch
blob: 10ed0583f3e45f00dad373ee4b1d02f9c3715705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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++;