From: Paul Donald Date: Mon, 25 May 2026 21:32:15 +0000 (+0300) Subject: luci-app-wol: correctness fixes X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7e0faa81d235d906adf78643c8f9898d9d30c745;p=openwrt-luci.git luci-app-wol: correctness fixes Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-wol/root/usr/share/rpcd/ucode/luci.wol b/applications/luci-app-wol/root/usr/share/rpcd/ucode/luci.wol index 7e410a4ad0..fd9e9f0485 100644 --- a/applications/luci-app-wol/root/usr/share/rpcd/ucode/luci.wol +++ b/applications/luci-app-wol/root/usr/share/rpcd/ucode/luci.wol @@ -38,7 +38,7 @@ const methods = { call: function(request) { const result = {}; if (request.args.name == etherwake || request.args.name == wakeonlan) { - parts = map(request.args.args, shellquote); + let parts = map(request.args.args, shellquote); const fd = popen(request.args.name + ' ' + join(' ', parts)); result.stdout = fd.read('all');