diff --git a/weed-fs/src/cmd/weed/weed.go b/weed-fs/src/cmd/weed/weed.go index e3ffc013b..bc05a9c2c 100644 --- a/weed-fs/src/cmd/weed/weed.go +++ b/weed-fs/src/cmd/weed/weed.go @@ -65,7 +65,7 @@ func main() { cmd.Flag.Usage = func() { cmd.Usage() } cmd.Flag.Parse(args[1:]) args = cmd.Flag.Args() - *IsDebug = *cmd.IsDebug + IsDebug = cmd.IsDebug if !cmd.Run(cmd, args) { fmt.Fprintf(os.Stderr, "\n") cmd.Flag.Usage()