summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/luasrc/util.lua')
-rw-r--r--modules/luci-base/luasrc/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/util.lua b/modules/luci-base/luasrc/util.lua
index 5bf0beb6c..2956aadcf 100644
--- a/modules/luci-base/luasrc/util.lua
+++ b/modules/luci-base/luasrc/util.lua
@@ -157,7 +157,7 @@ end
-- command line parameter).
function shellsqescape(value)
local res
- res, _ = string.gsub(res, "'", "'\\''")
+ res, _ = string.gsub(value, "'", "'\\''")
return res
end