View | Details | Raw Unified | Return to bug 2960 | Differences between
and this patch

Collapse All | Expand All

(-)a/session.c (+1 lines)
Lines 1859-1864 do_child(Session *s, const char *command) Link Here
1859
1859
1860
	if (s->is_subsystem == SUBSYSTEM_INT_SFTP_ERROR) {
1860
	if (s->is_subsystem == SUBSYSTEM_INT_SFTP_ERROR) {
1861
		printf("This service allows sftp connections only.\n");
1861
		printf("This service allows sftp connections only.\n");
1862
		logit("The session allows sftp connections only");
1862
		fflush(NULL);
1863
		fflush(NULL);
1863
		exit(1);
1864
		exit(1);
1864
	} else if (s->is_subsystem == SUBSYSTEM_INT_SFTP) {
1865
	} else if (s->is_subsystem == SUBSYSTEM_INT_SFTP) {

Return to bug 2960