summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/root/usr/share/rpcd')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/ucode/luci4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/ucode/luci b/modules/luci-base/root/usr/share/rpcd/ucode/luci
index 794676abc6..cb00ff86d4 100644
--- a/modules/luci-base/root/usr/share/rpcd/ucode/luci
+++ b/modules/luci-base/root/usr/share/rpcd/ucode/luci
@@ -26,8 +26,8 @@ const methods = {
let idx = init_index(name);
scripts[name] = {
- index: idx[0],
- stop: idx[1],
+ index: idx?.[0],
+ stop: idx?.[1],
enabled: init_enabled(name)
};
}