Skip to content

Commit

Permalink
Merge pull request #43 from dell/fix-mkfs-formatting
Browse files Browse the repository at this point in the history
Fix mkfs formatting
  • Loading branch information
adarsh-dell authored Jul 9, 2024
2 parents 450188e + 53cfd67 commit 9cedba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gofsutil_mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (fs *FS) formatAndMount(
if len(opts) > 0 {
fsFormatOptionString = opts[len(opts)-1]
if strings.HasPrefix(fsFormatOptionString, "fsFormatOption:") {
fsFormatOptionString = strings.TrimPrefix(fsFormatOptionString, "fsFormatOption")
fsFormatOptionString = strings.TrimPrefix(fsFormatOptionString, "fsFormatOption:")
fsFormatOption = strings.Split(fsFormatOptionString, " ")
opts = opts[0 : len(opts)-1]
}
Expand Down

0 comments on commit 9cedba6

Please sign in to comment.