command/apply: more than one ctrl-c properly exits immediately

This commit is contained in:
Mitchell Hashimoto 2014-10-11 13:23:15 -07:00
parent 129e4fc453
commit 0914e17a2a
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ BUG FIXES:
* core: Strings in the configuration can escape double-quotes with the
standard `\"` syntax.
* core: Error parsing CLI config will show properly. [GH-288]
* core: More than one Ctrl-C will exit immediately.
* providers/aws: autoscaling_group can be launched into a vpc [GH-259]
* providers/aws: not an error when RDS instance is deleted manually. [GH-307]
* providers/aws: Retry deleting subnet for some time while AWS eventually

View File

@ -195,7 +195,7 @@ func (c *ApplyCommand) Run(args []string) int {
c.Ui.Output("Interrupt received. Gracefully shutting down...")
// Stop execution
ctx.Stop()
go ctx.Stop()
// Still get the result, since there is still one
select {