summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/config.go b/config.go
index 5924315..9711a46 100644
--- a/config.go
+++ b/config.go
@@ -125,10 +125,7 @@ func writeConfigFile() {
os.Exit(-1)
}
- if me.events.WriteConfigJSON() {
- os.Exit(-1)
- }
- if me.events.WriteConfigTEXT() {
+ if err := me.events.ConfigRead(); err != nil {
os.Exit(-1)
}