Browse Source

avoid possible wrong arguments

fix https://github.com/chrislusf/seaweedfs/issues/1320
pull/1329/head
Chris Lu 5 years ago
parent
commit
0c856e8387
  1. 4
      weed/command/mount_std.go

4
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))
}

Loading…
Cancel
Save