diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.go index 698484898..6a2ea6e75 100644 --- a/weed/shell/command_fs_meta_save.go +++ b/weed/shell/command_fs_meta_save.go @@ -52,7 +52,7 @@ func (c *commandFsMetaSave) Do(args []string, commandEnv *CommandEnv, writer io. isObfuscate := fsMetaSaveCommand.Bool("obfuscate", false, "obfuscate the file names") // chunksFileName := fsMetaSaveCommand.String("chunks", "", "output all the chunks to this file") if err = fsMetaSaveCommand.Parse(args); err != nil { - return nil + return err } path, parseErr := commandEnv.parseUrl(findInputDirectory(fsMetaSaveCommand.Args()))