mirror of
https://github.com/tnodir/fort
synced 2024-11-15 03:46:13 +00:00
Improve tests.
This commit is contained in:
parent
bf3080fc4f
commit
f6b8ec278a
@ -7,7 +7,9 @@ local wipf = require"wipflua"
|
||||
|
||||
function get_procpath(id)
|
||||
local pid = sys.pid(id, true)
|
||||
return (pid and pid:path()) or ""
|
||||
local path = (pid and pid:path()) or ""
|
||||
pid:close()
|
||||
return path
|
||||
end
|
||||
|
||||
function print_logs(buf)
|
||||
|
Loading…
Reference in New Issue
Block a user