aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index b10f45cd7..3d030dba3 100644
--- a/main.go
+++ b/main.go
@@ -1033,9 +1033,10 @@ func findFATMounts(options *compileopts.Options) ([]mountPoint, error) {
if fstype != "vfat" {
continue
}
+ fspath := strings.ReplaceAll(fields[1], "\\040", " ")
points = append(points, mountPoint{
- name: filepath.Base(fields[1]),
- path: fields[1],
+ name: filepath.Base(fspath),
+ path: fspath,
})
}
return points, nil