packer/plugin: swallowInterrupts in plugin should swallow all
This commit is contained in:
parent
36b97b820f
commit
faeba2a14f
|
@ -94,8 +94,10 @@ func swallowInterrupts() {
|
|||
signal.Notify(ch, os.Interrupt)
|
||||
|
||||
go func() {
|
||||
<-ch
|
||||
log.Println("Received interrupt signal. Ignoring.")
|
||||
for {
|
||||
<-ch
|
||||
log.Println("Received interrupt signal. Ignoring.")
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue