From d40c6e93fa70aa9696257bddf50d4f9865873adc Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 26 Dec 2016 17:19:50 +0000 Subject: Stop openssh-server.config exiting non-zero on fresh installations. --- debian/openssh-server.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/openssh-server.config') 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() { /etc/ssh/sshd_config 2>/dev/null } -permit_root_login="$(get_config_option PermitRootLogin)" +permit_root_login="$(get_config_option PermitRootLogin)" || true if [ -f /etc/ssh/sshd_config ]; then # Make sure the debconf database is in sync with the current state # of the system. -- cgit v1.2.3