712866
From 509a3b2c3354d6ea83bc61a83ac35f64c1c32103 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Mon, 12 Jan 2015 14:20:42 +0100
712866
Subject: [PATCH] ssh-client: s/key/$key
712866
712866
GlobalKnownHostsFile was not installed, because key was not $key
712866
712866
Thanks Jan Stodola!
712866
712866
(cherry picked from commit 4ba44e899cbc58e7cee0ff66c8ac4a96f502b972)
712866
---
712866
 modules.d/95ssh-client/module-setup.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/95ssh-client/module-setup.sh b/modules.d/95ssh-client/module-setup.sh
5c6c2a
index f60e9631..c7d8ee24 100755
712866
--- a/modules.d/95ssh-client/module-setup.sh
712866
+++ b/modules.d/95ssh-client/module-setup.sh
712866
@@ -45,7 +45,7 @@ inst_sshenv()
712866
         inst_simple /etc/ssh/ssh_config
712866
         sed -i -e 's/\(^[[:space:]]*\)ProxyCommand/\1# ProxyCommand/' ${initdir}/etc/ssh/ssh_config
712866
         while read key val; do
712866
-            [[ key != "GlobalKnownHostsFile" ]] && continue
712866
+            [[ $key != "GlobalKnownHostsFile" ]] && continue
712866
             inst_simple "$val"
712866
             break
712866
         done < /etc/ssh/ssh_config