mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid possible wrong arguments
fix https://github.com/chrislusf/seaweedfs/issues/1320
This commit is contained in:
parent
2bfd810912
commit
0c856e8387
|
@ -34,6 +34,10 @@ func runMount(cmd *Command, args []string) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(args)>0 {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
return RunMount(&mountOptions, os.FileMode(umask))
|
return RunMount(&mountOptions, os.FileMode(umask))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue