From 26d9b662b1b35e6a75c8a1bc805459cd1bdf397c Mon Sep 17 00:00:00 2001 From: Eric Yang Date: Sun, 20 Nov 2022 21:05:00 -0800 Subject: [PATCH] ADHOC: fix fs.meta.save typo (#3993) Co-authored-by: root --- weed/shell/command_fs_meta_save.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))