summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-yggdrasil/root
diff options
context:
space:
mode:
authorWilliam Fleurant <meshnet@protonmail.com>2023-11-12 12:26:36 +0100
committerWilliam Fleurant <meshnet@protonmail.com>2023-11-12 12:26:36 +0100
commit6fa509d0e47a31d0974af914f53e35025444f70d (patch)
tree05558ea03e5a2869ca1586e603fab0c22dee9a4f /protocols/luci-proto-yggdrasil/root
parent6395c4d7a6f60618a83fcd35bf6850d2ab157470 (diff)
luci-proto-yggdrasil: getPeers calls yggctl with quoted url
Signed-off-by: William Fleurant <meshnet@protonmail.com>
Diffstat (limited to 'protocols/luci-proto-yggdrasil/root')
-rwxr-xr-xprotocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil2
1 files changed, 1 insertions, 1 deletions
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
;;