mirror of
https://github.com/safing/portbase
synced 2026-05-01 21:21:23 +00:00
Add proper validation errors to config module, enable soft-fail on start
This commit is contained in:
parent
7d144dae89
commit
bdd1bc2d86
10 changed files with 125 additions and 70 deletions
|
|
@ -64,7 +64,7 @@ func start() error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = loadConfig()
|
||||
err = loadConfig(false)
|
||||
if err != nil && !os.IsNotExist(err) {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue