summaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/mount.go b/mount.go
index ababa81..8cc038e 100644
--- a/mount.go
+++ b/mount.go
@@ -470,10 +470,7 @@ func haveFusermount2() bool {
// libfuse 2: fusermount version: 2.9.9
// libfuse 3: fusermount3 version: 3.9.0
v := out.String()
- if strings.HasPrefix(v, "fusermount version") {
- return true
- }
- return false
+ return strings.HasPrefix(v, "fusermount version")
}
func handleSigint(srv *fuse.Server, mountpoint string) {