Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1b45064

Browse files
committed
Do not bail-out daemon if data dir can't be created
1 parent cc3396f commit 1b45064

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎internal/inventory/inventory.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ func Init(configPath string) error {
5555
return err
5656
}
5757
if err := WriteStore(); err != nil {
58-
return err
58+
// If an error occurs during saving of the store, just log it
59+
logrus.WithError(err).Error("Error writing inventory store")
5960
}
6061
}
6162

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /