summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.go b/main.go
index 8bbdf6a..fef5833 100644
--- a/main.go
+++ b/main.go
@@ -78,7 +78,12 @@ func main() {
log.Info("todo: add flag to ignore. for now, fix problems in the config file.")
os.Exit(0)
}
- newe := ValidateDiskFilenames(me.cluster)
+ newe, err := ValidateDiskFilenames(me.cluster)
+ if err != nil {
+ log.Info(err)
+ os.Exit(-1)
+ }
+ // this is a new droplet. add it to the cluster
for _, e := range newe {
newEvents = append(newEvents, e)
}