aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 55601df..e11b17a 100644
--- a/config/config.go
+++ b/config/config.go
@@ -66,10 +66,9 @@ func (config *Config) Load() {
os.MkdirAll(config.HistoryDir, 0700)
os.MkdirAll(config.MediaDir, 0700)
return
- } else {
- fmt.Println("Failed to read config from", configPath)
- panic(err)
}
+ fmt.Println("Failed to read config from", configPath)
+ panic(err)
}
err = yaml.Unmarshal(data, &config)