Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions service/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ func mkfile(path string) (bool, error) {
Log.WithField("path", path).Debug("created file")
return true, nil
}
return false, err
}
if st.IsDir() {
return false, fmt.Errorf("existing path is a directory")
Expand All @@ -583,6 +584,7 @@ func mkdir(path string) (bool, error) {
Log.WithField("path", path).Debug("created directory")
return true, nil
}
return false, err
}
if !st.IsDir() {
return false, fmt.Errorf("existing path is not a directory")
Expand Down
Loading