packer/plugin: swallowInterrupts in plugin should swallow all

This commit is contained in:
Mitchell Hashimoto 2013-08-23 14:22:32 -07:00
parent 36b97b820f
commit faeba2a14f
1 changed files with 4 additions and 2 deletions

View File

@ -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.")
}
}()
}