diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) } |
