From 151e9bb8f89da9dcf731681e4d645cc94d1b6a3e Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 25 May 2020 16:29:45 +0100 Subject: [PATCH] svc/connect.in: Squash newlines to spaces in `info' output. Otherwise all sorts of things go horribly wrong. --- svc/connect.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/connect.in b/svc/connect.in index 04713967..78da3252 100644 --- a/svc/connect.in +++ b/svc/connect.in @@ -756,7 +756,7 @@ def cmd_info(name): items = list(peer.list()) items.sort() for i in items: - T.svcinfo('%s=%s' % (i, peer.get(i))) + T.svcinfo('%s=%s' % (i, peer.get(i).replace('\n', ' '))) def cmd_userpeer(user): """ -- 2.11.0