diff --git a/CHANGELOG.md b/CHANGELOG.md index 8786fda18..260c0c7d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/command/apply.go b/command/apply.go index c7c189a26..1474bc2ea 100644 --- a/command/apply.go +++ b/command/apply.go @@ -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 {