diff --git a/cmd/csaf_aggregator/config.go b/cmd/csaf_aggregator/config.go index 4a18f92..8b38c2e 100644 --- a/cmd/csaf_aggregator/config.go +++ b/cmd/csaf_aggregator/config.go @@ -270,7 +270,7 @@ func (c *config) setDefaults() { c.LockFile = &defaultLockFile } - if c.LockFile == "" { + if *c.LockFile == "" { c.LockFile = nil }