Skip to content

Commit

Permalink
core.worker: include si_status in status
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/apps/inter/inter_test.lua
  • Loading branch information
eugeneia committed Aug 16, 2017
1 parent 8960b0f commit 2e32f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/worker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ function status ()
local infop = S.waitid("pid", info.pid, "nohang, exited")
status[name] = {
pid = info.pid,
alive = infop and infop.code == 0 or false
alive = infop and infop.code == 0 or false,
status = infop and infop.status
}
end
return status
Expand Down

0 comments on commit 2e32f83

Please sign in to comment.