Minor improvements
This commit is contained in:
1 parent
77ad91a297
commit
4655e74c2a
2 files changed
+10
-5
No files matched your search
+1
-2
@@ -76,9 +76,8 @@ func Load(configFile string) error {
|
||||
if err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
return ErrConfigFileNotFound
|
||||
} else {
|
||||
return err
|
||||
}
|
||||
return err
|
||||
}
|
||||
config = cfg
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user