Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugtool: fix data race occurring when running commands
A version of the classic closure with concurrency gotcha. Bind the value of cmd in the loop to a new variable to address the issue. Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
- Loading branch information