mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-14 06:58:29 +00:00
fixed function writer
This commit is contained in:
parent
523d074217
commit
79198366b7
@ -2282,8 +2282,8 @@ local functionWriter = (function()
|
|||||||
-- TODO do array joining instead
|
-- TODO do array joining instead
|
||||||
ft = ft..
|
ft = ft..
|
||||||
" log('Normal', 'Event ',event.etype,\n"..
|
" log('Normal', 'Event ',event.etype,\n"..
|
||||||
" ' spawns shell \""..lc.."\"')\n"..
|
" [[ spawns shell \""..lc.."\"]])\n"..
|
||||||
" spawnShell(event, '"..cmd.."'"
|
" spawnShell(event, [["..cmd.."]]"
|
||||||
for _, v in ipairs(args) do
|
for _, v in ipairs(args) do
|
||||||
ft = ft..',\n '..v
|
ft = ft..',\n '..v
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user