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