From 6fa509d0e47a31d0974af914f53e35025444f70d Mon Sep 17 00:00:00 2001 From: William Fleurant Date: Sun, 12 Nov 2023 12:26:36 +0100 Subject: luci-proto-yggdrasil: getPeers calls yggctl with quoted url Signed-off-by: William Fleurant --- protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/luci-proto-yggdrasil/root') diff --git a/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil b/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil index 921195f65f..d4545277ab 100755 --- a/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil +++ b/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil @@ -29,7 +29,7 @@ case "$1" in read -r input json_load "$input" json_get_vars interface - echo "$(yggdrasilctl -endpoint=unix:///tmp/yggdrasil/${interface}.sock -json getPeers)" + yggdrasilctl -endpoint="unix:///tmp/yggdrasil/${interface}.sock" -json getPeers ;; esac ;; -- cgit v1.2.3