diff --git a/commands/rm.go b/commands/rm.go index 75ec1c133d..0d181fb8ba 100644 --- a/commands/rm.go +++ b/commands/rm.go @@ -34,10 +34,11 @@ func cmdRm(c *cli.Context) { if err := mcn.Remove(host, force); err != nil { log.Errorf("Error removing machine %s: %s", host, err) isError = true + } else { + log.Infof("Successfully removed %s", host) } } if isError { log.Fatal("There was an error removing a machine. To force remove it, pass the -f option. Warning: this might leave it running on the provider.") } - log.Print("The machine was successfully removed.") }