mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
fixed to early wg.done in request method
This commit is contained in:
parent
c48c7bf196
commit
1aca36485a
1 changed files with 1 additions and 1 deletions
|
@ -1749,7 +1749,7 @@ func (m methodREQCliCommandCont) handler(proc process, message Message, node str
|
|||
|
||||
proc.processes.wg.Add(1)
|
||||
go func() {
|
||||
proc.processes.wg.Done()
|
||||
defer proc.processes.wg.Done()
|
||||
|
||||
cmd := exec.CommandContext(ctx, c, a...)
|
||||
|
||||
|
|
Loading…
Reference in a new issue