mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Fatal on any audit errors
This commit is contained in:
@@ -48,10 +48,7 @@ func init() {
|
||||
if len(auditErrors) > 0 {
|
||||
log.Errorf("connecting to audit database, defined in %s", configFile)
|
||||
for i, err := range auditErrors {
|
||||
if i == len(auditErrors)-1 {
|
||||
log.Fatal(err)
|
||||
}
|
||||
log.Error(err)
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user