command/apply: more than one ctrl-c properly exits immediately
This commit is contained in:
parent
129e4fc453
commit
0914e17a2a
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue