You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
412 B
13 lines
412 B
7 years ago
|
diff --git a/session.c b/session.c
|
||
|
index 626a642..b186ca1 100644
|
||
|
--- a/session.c
|
||
|
+++ b/session.c
|
||
|
@@ -1859,6 +1859,7 @@ do_child(Session *s, const char *command)
|
||
|
|
||
|
if (s->is_subsystem == SUBSYSTEM_INT_SFTP_ERROR) {
|
||
|
printf("This service allows sftp connections only.\n");
|
||
|
+ logit("The session allows sftp connections only");
|
||
|
fflush(NULL);
|
||
|
exit(1);
|
||
|
} else if (s->is_subsystem == SUBSYSTEM_INT_SFTP) {
|