Update hangup_rx.lua
This commit is contained in:
parent
19791d71f9
commit
8ac8f04872
|
|
@ -58,7 +58,6 @@
|
||||||
end
|
end
|
||||||
|
|
||||||
-- escape shell arguments to prevent command injection
|
-- escape shell arguments to prevent command injection
|
||||||
|
|
||||||
local function shell_esc(x)
|
local function shell_esc(x)
|
||||||
return ("'"..x:gsub('\\', '\\\\')
|
return ("'"..x:gsub('\\', '\\\\')
|
||||||
:gsub('\'', '\\\'').."'")
|
:gsub('\'', '\\\'').."'")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue