Commit a42b04ce authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

update comments in signal.go

parent 9289df6d
......@@ -15,8 +15,12 @@ func setupSignalHandlers(env packer.Environment) {
signal.Notify(ch, os.Interrupt)
go func() {
// First interrupt. We mostly ignore this because it allows the
// plugins time to cleanup.
<-ch
log.Println("First interrupt. Ignoring, will let plugins handle...")
log.Println("First interrupt. Ignoring, but closing stdin...")
// Second interrupt. Go down hard.
<-ch
log.Println("Second interrupt. Exiting now.")
......
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