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)
|
signal.Notify(ch, os.Interrupt)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
<-ch
|
for {
|
||||||
log.Println("Received interrupt signal. Ignoring.")
|
<-ch
|
||||||
|
log.Println("Received interrupt signal. Ignoring.")
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue