avoid possible wrong arguments

fix https://github.com/chrislusf/seaweedfs/issues/1320
This commit is contained in:
Chris Lu 2020-05-18 10:07:12 -07:00
parent 2bfd810912
commit 0c856e8387

View file

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