Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Jan 20, 2020
1 parent b3525bf commit a2d841f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkron/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewStore(dir string) (*Store, error) {
}
if !dirExists {
// Try to create the directory
err := os.Mkdir(dir, 0700)
err := os.MkdirAll(dir, 0700)
if err != nil {
return nil, fmt.Errorf("Error creating directory %s: %w", dir, err)
}
Expand Down

0 comments on commit a2d841f

Please sign in to comment.