mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
fix condition for nil pointer in common config
This commit is contained in:
@@ -23,7 +23,7 @@ func ParseConfig(cfg *config.Config) error {
|
||||
Color: cfg.Commons.Log.Color,
|
||||
File: cfg.Commons.Log.File,
|
||||
}
|
||||
} else if cfg.Log == nil && cfg.Commons == nil {
|
||||
} else if cfg.Log == nil {
|
||||
cfg.Log = &shared.Log{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user