diff options
author | Colin Watson <cjwatson@debian.org> | 2016-12-26 17:19:50 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-12-26 17:19:50 +0000 |
commit | d40c6e93fa70aa9696257bddf50d4f9865873adc (patch) | |
tree | 833b91c15a3138165c7460a4a6fc9c3c0fda6f43 /debian/openssh-server.config | |
parent | 852c03ecbaec0e5dda4b83f1ee9c4ca6d12ebb90 (diff) |
Stop openssh-server.config exiting non-zero on fresh installations.
Diffstat (limited to 'debian/openssh-server.config')
-rw-r--r-- | debian/openssh-server.config | 2 |
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 | ||
19 | permit_root_login="$(get_config_option PermitRootLogin)" | 19 | permit_root_login="$(get_config_option PermitRootLogin)" || true |
20 | if [ -f /etc/ssh/sshd_config ]; then | 20 | if [ -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. |