diff options
Diffstat (limited to 'debian/openssh-server.config')
-rw-r--r-- | debian/openssh-server.config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/openssh-server.config b/debian/openssh-server.config index 883dbf41b..dbde2cbb0 100644 --- a/debian/openssh-server.config +++ b/debian/openssh-server.config | |||
@@ -10,7 +10,9 @@ get_config_option() { | |||
10 | [ -f /etc/ssh/sshd_config ] || return | 10 | [ -f /etc/ssh/sshd_config ] || return |
11 | 11 | ||
12 | # TODO: actually only one '=' allowed after option | 12 | # TODO: actually only one '=' allowed after option |
13 | perl -ne 'print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \ | 13 | perl -lne ' |
14 | s/[[:space:]]+/ /g; s/[[:space:]]+$//; | ||
15 | print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \ | ||
14 | /etc/ssh/sshd_config 2>/dev/null | 16 | /etc/ssh/sshd_config 2>/dev/null |
15 | } | 17 | } |
16 | 18 | ||