mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
19 lines
550 B
Diff
19 lines
550 B
Diff
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++;
|