From 64039657105c48c475c621684a8d09abcdd5dbf6 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 22 Mar 2008 12:35:46 +0000 Subject: * Use printf rather than echo -en (a bashism) in openssh-server.config and openssh-server.preinst. --- 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 f8ba7c7f7..d977cb918 100644 --- a/debian/openssh-server.config +++ b/debian/openssh-server.config @@ -62,7 +62,7 @@ then # actually does the work, but if the old ssh-keygen is not found, # it can't do that -- thus, we tell the user that he must create # a new host key. - echo -en '\0\0' | 3<&0 sh -c \ + printf '\0\0' | 3<&0 sh -c \ 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || { # this means that bytes 32&33 of the key were not both zero, in which # case the key is encrypted, which we need to fix -- cgit v1.2.3