Skip to content

Commit

Permalink
Do not bail-out daemon if data dir can't be created
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Nov 3, 2023
1 parent cc3396f commit 1b45064
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func Init(configPath string) error {
return err
}
if err := WriteStore(); err != nil {
return err
// If an error occurs during saving of the store, just log it
logrus.WithError(err).Error("Error writing inventory store")
}
}

Expand Down

0 comments on commit 1b45064

Please sign in to comment.