diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-27 16:20:22 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-27 16:21:44 +0100 |
commit | f18616827add1d0f51f0e61bd6675e110d43da7f (patch) | |
tree | a33f0a5595cc01461a3621bd6b4501bb7ed096b7 /testing/rssh/fix-error-message-for-invalid-option.patch | |
parent | 80850b5aa47aef84c29e8bce9bb033811884f282 (diff) | |
download | aports-f18616827add1d0f51f0e61bd6675e110d43da7f.tar.gz aports-f18616827add1d0f51f0e61bd6675e110d43da7f.tar.bz2 aports-f18616827add1d0f51f0e61bd6675e110d43da7f.tar.xz |
testing/rssh: new aport
http://www.pizzashack.org/rssh/
Restricted shell for use with OpenSSH, allowing only scp, sftp, and/or rsync
Diffstat (limited to 'testing/rssh/fix-error-message-for-invalid-option.patch')
-rw-r--r-- | testing/rssh/fix-error-message-for-invalid-option.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/rssh/fix-error-message-for-invalid-option.patch b/testing/rssh/fix-error-message-for-invalid-option.patch new file mode 100644 index 0000000000..10ed0583f3 --- /dev/null +++ b/testing/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++; |