From 7e0faa81d235d906adf78643c8f9898d9d30c745 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 26 May 2026 00:32:15 +0300 Subject: [PATCH] luci-app-wol: correctness fixes Signed-off-by: Paul Donald --- applications/luci-app-wol/root/usr/share/rpcd/ucode/luci.wol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');