mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-03 05:51:40 -05:00
fix wg.Add(1) lint
This commit is contained in:
parent
379a33de42
commit
c0f7b2ef39
1 changed files with 1 additions and 1 deletions
|
|
@ -62,8 +62,8 @@ func (s *StepDump) Run(ctx context.Context, state multistep.StateBag) multistep.
|
|||
defer wg.Wait()
|
||||
ctxWithCancel, cancel := context.WithCancel(ctx)
|
||||
defer cancel()
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
wg.Add(1)
|
||||
defer wg.Done()
|
||||
cmd := &packersdk.RemoteCmd{
|
||||
Command: "while true ; do sleep 3; sudo kill -s SIGUSR1 $(pidof qemu-img); done",
|
||||
|
|
|
|||
Loading…
Reference in a new issue