summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-25 17:01:30 -0500
committerJeff Carr <[email protected]>2024-10-25 17:01:30 -0500
commit9b94785cd2ddd100553f17763f5318909dc16dc8 (patch)
tree080c50d2f3ed9e2dbf411261927490caead10b5f /main.go
parent4d43c36db5d87fcd8a30242e424017468a7c48c0 (diff)
start date works on events
Signed-off-by: Jeff Carr <[email protected]>
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)