Make id local in spawn

This commit is contained in:
James Reed 2019-04-20 07:18:04 -06:00
parent b55145143c
commit 68049e5c3c
No known key found for this signature in database
GPG Key ID: 8F79994F6B8378C1
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ end
-- @function launch.spawn
local function spawn(cmd, args)
args = args or {}
id = args.id or gen_id()
local id = args.id or gen_id()
local data = {
props = args.props or {},
tags = args.tags,