aports/main/rssh/fix-error-message-for-invalid-option.patch
Jakub Jirutka e6707fd74d main/rssh: move from community
I think that rssh is worthy of being in the main repository; it's
stable, trustworthy and has very long history.
2021-01-09 12:44:33 +01:00

18 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++;