luci-app-ddns: gracefully handle missing control file
authorJo-Philipp Wich <jo@mein.io>
Thu, 20 Oct 2022 08:13:38 +0000 (10:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 5 Dec 2022 09:40:22 +0000 (10:40 +0100)
commit6da87df384b938f89a0550021d9131611319e6c5
treed456950cc0800ad0946f9c96048959dab590c0b8
parent7d8e810341aead684a3aeaab30048fc0872f99d3
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 <jo@mein.io>
(cherry picked from commit 74283264a34083725a71a0f62de423a514efa402)
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns