fs: fix XFS and other FS related issue due to missing d_type.

This commit is contained in:
Harshavardhana
2016-04-17 14:58:40 -07:00
committed by Harshavardhana
parent 188bb92d8a
commit 3de7f26e41
4 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -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 {