mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
fs: fix XFS and other FS related issue due to missing d_type.
This commit is contained in:
committed by
Harshavardhana
parent
188bb92d8a
commit
3de7f26e41
+1
-1
@@ -148,7 +148,7 @@ func initServerConfig(c *cli.Context) {
|
||||
|
||||
// Check server arguments.
|
||||
func checkServerSyntax(c *cli.Context) {
|
||||
if c.Args().First() == "help" {
|
||||
if !c.Args().Present() || c.Args().First() == "help" {
|
||||
cli.ShowCommandHelpAndExit(c, "server", 1)
|
||||
}
|
||||
if len(c.Args()) > 2 {
|
||||
|
||||
Reference in New Issue
Block a user