Update shell_esc remove local
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
--escape shell arguments to prevent command injection
|
--escape shell arguments to prevent command injection
|
||||||
local function shell_esc(arg)
|
function shell_esc(arg)
|
||||||
if not arg or arg == "" then
|
if not arg or arg == "" then
|
||||||
return "''"
|
return "''"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user