summaryrefslogtreecommitdiff
path: root/debian/openssh-server.config
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-12-26 17:19:50 +0000
committerColin Watson <cjwatson@debian.org>2016-12-26 17:19:50 +0000
commitd40c6e93fa70aa9696257bddf50d4f9865873adc (patch)
tree833b91c15a3138165c7460a4a6fc9c3c0fda6f43 /debian/openssh-server.config
parent852c03ecbaec0e5dda4b83f1ee9c4ca6d12ebb90 (diff)
Stop openssh-server.config exiting non-zero on fresh installations.
Diffstat (limited to 'debian/openssh-server.config')
-rw-r--r--debian/openssh-server.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.config b/debian/openssh-server.config
index 67a074ec2..1cad01cff 100644
--- a/debian/openssh-server.config
+++ b/debian/openssh-server.config
@@ -16,7 +16,7 @@ get_config_option() {
16 /etc/ssh/sshd_config 2>/dev/null 16 /etc/ssh/sshd_config 2>/dev/null
17} 17}
18 18
19permit_root_login="$(get_config_option PermitRootLogin)" 19permit_root_login="$(get_config_option PermitRootLogin)" || true
20if [ -f /etc/ssh/sshd_config ]; then 20if [ -f /etc/ssh/sshd_config ]; then
21 # Make sure the debconf database is in sync with the current state 21 # Make sure the debconf database is in sync with the current state
22 # of the system. 22 # of the system.