Commit faeba2a1 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer/plugin: swallowInterrupts in plugin should swallow all

parent 36b97b82
...@@ -94,8 +94,10 @@ func swallowInterrupts() { ...@@ -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.")
}
}() }()
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment