diff options
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r-- | debian/openssh-server.postinst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst index fe6f50775..fa8ce6bdc 100644 --- a/debian/openssh-server.postinst +++ b/debian/openssh-server.postinst | |||
@@ -126,7 +126,8 @@ check_password_auth() { | |||
126 | 126 | ||
127 | move_subsystem_sftp() { | 127 | move_subsystem_sftp() { |
128 | subsystem_sftp="$(get_config_option 'Subsystem sftp')" | 128 | subsystem_sftp="$(get_config_option 'Subsystem sftp')" |
129 | if [ "$subsystem_sftp" = /usr/lib/sftp-server ]; then | 129 | if [ "$subsystem_sftp" = /usr/lib/sftp-server ] || \ |
130 | [ "$subsystem_sftp" = /usr/libexec/sftp-server ]; then | ||
130 | set_config_option 'Subsystem sftp' /usr/lib/openssh/sftp-server | 131 | set_config_option 'Subsystem sftp' /usr/lib/openssh/sftp-server |
131 | fi | 132 | fi |
132 | } | 133 | } |