mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 06:09:17 +00:00
create corrosion config
This commit is contained in:
1 parent
2f7463ebe3
commit
9fcc319c3a
8 files changed
+191
-49
No files matched your search
@@ -48,7 +48,7 @@ func (s *State) Load() error {
|
||||
|
||||
func (s *State) Save() error {
|
||||
dir, _ := filepath.Split(s.path)
|
||||
if err := os.MkdirAll(dir, 0700); err != nil {
|
||||
if err := os.MkdirAll(dir, 0711); err != nil {
|
||||
return fmt.Errorf("create state directory %q: %w", dir, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user