1 |
From: Russ Allbery <rra@debian.org> |
2 |
Subject: [PATCH] Fix error message from invalid options |
3 |
|
4 |
Don't refer to all invalid options as invalid scp options. |
5 |
|
6 |
Signed-off-by: Russ Allbery <rra@debian.org> |
7 |
|
8 |
--- |
9 |
util.c | 2 +- |
10 |
1 file changed, 1 insertion(+), 1 deletion(-) |
11 |
|
12 |
diff --git a/util.c b/util.c |
13 |
index 443dcba..774bdbe 100644 |
14 |
--- a/util.c |
15 |
+++ b/util.c |
16 |
@@ -152,7 +152,7 @@ bool opt_filter(char **vec, const char opt) |
17 |
while (vec && *vec){ |
18 |
if (opt_exist(*vec, opt)){ |
19 |
fprintf(stderr, "\nillegal insecure %c option", opt); |
20 |
- log_msg("insecure %c option in scp command line!", opt); |
21 |
+ log_msg("insecure %c option in command line!", opt); |
22 |
return TRUE; |
23 |
} |
24 |
vec++; |
25 |
-- |
26 |
tg: (05e48f5..) fixes/command-line-error (depends on: fixes/command-line-checking) |