summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/session.c b/session.c
index d55419fbd..78192314a 100644
--- a/session.c
+++ b/session.c
@@ -1796,6 +1796,9 @@ do_child(Session *s, const char *command)
1796 argv[i] = NULL; 1796 argv[i] = NULL;
1797 optind = optreset = 1; 1797 optind = optreset = 1;
1798 __progname = argv[0]; 1798 __progname = argv[0];
1799#ifdef WITH_SELINUX
1800 ssh_selinux_change_context("sftpd_t");
1801#endif
1799 exit(sftp_server_main(i, argv, s->pw)); 1802 exit(sftp_server_main(i, argv, s->pw));
1800 } 1803 }
1801 1804