summaryrefslogtreecommitdiff
path: root/internal/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/run.go')
-rw-r--r--internal/run.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/run.go b/internal/run.go
index 2fd1f7c..9583a69 100644
--- a/internal/run.go
+++ b/internal/run.go
@@ -8,6 +8,10 @@ func Run(ctx context.Context, configFile string, renotify bool) {
panic(err)
}
+ if err := config.sanityCheck(); err != nil {
+ notifyError(config, err)
+ }
+
state, err := readState(config)
if err != nil {
notifyError(config, err)