summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Weiß <holger@zedat.fu-berlin.de>2011-11-02 11:47:57 +0100
committerHolger Weiß <holger@zedat.fu-berlin.de>2011-11-02 11:47:57 +0100
commitb3c75de812d23b61afcfaaad3988fbde8fecddb7 (patch)
tree879e3ba1d08e5b940659055aed8d4bd7b013701d /src
parent261b08d6e7a9dadf2da0a5dde08d7655e4650472 (diff)
downloadbcfg2-b3c75de812d23b61afcfaaad3988fbde8fecddb7.tar.gz
bcfg2-b3c75de812d23b61afcfaaad3988fbde8fecddb7.tar.bz2
bcfg2-b3c75de812d23b61afcfaaad3988fbde8fecddb7.zip
SSHbase: Add missing newline
A newline character was missing before the first localhost entry in the ssh_known_hosts files created by SSHbase.
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/SSHbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/SSHbase.py b/src/lib/Server/Plugins/SSHbase.py
index e3f835160..d9adfdb61 100644
--- a/src/lib/Server/Plugins/SSHbase.py
+++ b/src/lib/Server/Plugins/SSHbase.py
@@ -216,7 +216,7 @@ class SSHbase(Bcfg2.Server.Plugin.Plugin,
skn.append("%s %s" % (','.join(hostnames),
entry.data.decode().rstrip()))
- self.__skn = "\n".join(skn)
+ self.__skn = "\n".join(skn) + "\n"
return self.__skn
def set_skn(self, value):