[X2Go-Commits] [x2gobroker] 01/02: fix missing newline character on replaced lines
git-admin at x2go.org
git-admin at x2go.org
Wed Apr 1 14:47:13 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit 3adebed6cad37178d8ecbfe641761b827485948f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Apr 1 14:45:10 2015 +0200
fix missing newline character on replaced lines
---
sbin/x2gobroker-pubkeyauthorizer | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/x2gobroker-pubkeyauthorizer b/sbin/x2gobroker-pubkeyauthorizer
index 2bf6f8d..ba6d95c 100755
--- a/sbin/x2gobroker-pubkeyauthorizer
+++ b/sbin/x2gobroker-pubkeyauthorizer
@@ -210,7 +210,7 @@ if __name__ == '__main__':
i += 1
line = line.rstrip("\n")
if line not in to_be_removed:
- cleanup_authorized_keys.write(line)
+ cleanup_authorized_keys.write(line+"\n")
else:
logger_broker.info(' Dropping replaced non-option public key (counter={i}) from {authorized_keys}.'.format(i=i, authorized_keys='{home}/.ssh/authorized_keys'.format(home=broker_home)))
cleanup_authorized_keys.truncate()
--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list