summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.go b/main.go
index fb26ee6..6f7bbf7 100644
--- a/main.go
+++ b/main.go
@@ -47,7 +47,11 @@ func main() {
me.events.Uuid = u.String()
me.events.Version = "dirty v1"
- cfgfile()
+ err := cfgfile()
+ if err != nil {
+ log.Warn("reading config file failed", err)
+ os.Exit(-1)
+ }
// sanity check the droplets
checkDroplets(false)