summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index 671c935..1c62669 100644
--- a/main.go
+++ b/main.go
@@ -49,9 +49,10 @@ func main() {
d := findDroplet(argv.Start)
if d == nil {
log.Info("droplet is unknown:", argv.Start)
- } else {
- log.Info("start droplet here:", d.Hostname)
+ os.Exit(0)
}
+ log.Info("start droplet here:", d.Hostname)
+ makeXml(d)
os.Exit(0)
}