workspace: Clone client table before modifying
This commit is contained in:
parent
ce4127d6e7
commit
2ad15ea4e5
|
@ -42,6 +42,7 @@ function load_workspace(dir)
|
|||
for _, c in ipairs(tbl) do
|
||||
local cmd
|
||||
if type(c) == 'table' and type(c[1]) == 'table' then
|
||||
c = gtable.clone(c)
|
||||
cmd = table.remove(c, 1)
|
||||
for _, arg in ipairs(c) do
|
||||
cmd[1] = cmd[1]..' '..arg
|
||||
|
|
Loading…
Reference in New Issue