command/destroy: don't show outputs

pull/396/head
Mitchell Hashimoto 12 years ago
parent bb698217f8
commit 8fc134caa1

@ -254,7 +254,7 @@ func (c *ApplyCommand) Run(args []string) int {
// If we have outputs, then output those at the end.
var outputs map[string]string
if state != nil {
if !c.Destroy && state != nil {
outputs = state.RootModule().Outputs
}
if len(outputs) > 0 {

Loading…
Cancel
Save