aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorLei Liu <lei01.liu@horizon.ai>2019-11-28 10:20:43 +0800
committerLei Liu <lei01.liu@horizon.ai>2019-11-28 10:21:31 +0800
commit13b6f09fea37fc9c61fd71232ed6568f2e10b759 (patch)
tree267417e41faa5548d613d621f0a7743ed9b2148a /weed/command/mount_std.go
parent1ba3456ac260abd8a29b9fdb63fd361e055dbf38 (diff)
downloadseaweedfs-13b6f09fea37fc9c61fd71232ed6568f2e10b759.tar.xz
seaweedfs-13b6f09fea37fc9c61fd71232ed6568f2e10b759.zip
fuse: adjust linux specific logic
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 8cc0586ce..9fde502d6 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -87,6 +87,7 @@ func RunMount(filer, filerMountRootPath, dir, collection, replication, dataCente
}
}
+ // Ensure target mount point availability
if isValid := checkMountPointAvailable(dir); !isValid {
glog.Fatalf("Expected mount to still be active, target mount point: %s, please check!", dir)
return false