luci-app-lldpd: Fix mysterious Command failed: Unknown error
authorPaul Donald <newtwen+github@gmail.com>
Thu, 10 Oct 2024 20:03:46 +0000 (22:03 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 10 Oct 2024 20:03:46 +0000 (22:03 +0200)
commitc40253ada3d3e0257e1e3796aeab5ad46bc02f5b
tree7c7267c7eea25e0badab19d00ca10d733e0ea1a5
parent02f2d471026cc0a77fecf54c278065ec334bd73b
luci-app-lldpd: Fix mysterious Command failed: Unknown error

Executing the following command:

ubus call luci.lldpd getStatus

always returned 'Command failed: Unknown error', but the underlying

lldpcli -f json0 show *

worked fine. Fixed with a chained ?.read?

Tested on 23.05.3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-lldpd/root/usr/share/rpcd/ucode/luci.lldpd