mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 07:07:25 +08:00
avoid possible wrong arguments
fix https://github.com/chrislusf/seaweedfs/issues/1320
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user