aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 2dc9aa196..550921188 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -34,6 +34,10 @@ func runMount(cmd *Command, args []string) bool {
return false
}
+ if len(args)>0 {
+ return false
+ }
+
return RunMount(&mountOptions, os.FileMode(umask))
}