luci-app-ddns: gracefully handle missing control file
authorJo-Philipp Wich <[email protected]>
Thu, 20 Oct 2022 08:13:38 +0000 (10:13 +0200)
committerJo-Philipp Wich <[email protected]>
Thu, 20 Oct 2022 08:13:38 +0000 (10:13 +0200)
commit74283264a34083725a71a0f62de423a514efa402
tree34fdc81aade8a7ea4192ce1d807a0e181301ade3
parent3395656b9f687fd5e071a7805e0ba4c83f62906d
luci-app-ddns: gracefully handle missing control file

In case `pcall()` fails, `ctrl` will contain an error message.

Fixes: 3395656b9f ("luci-app-ddns: get rid of luci-lib-ipkg depdency")
Signed-off-by: Jo-Philipp Wich <[email protected]>
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns