From 768eaff4b8b836add2174405e233cd54ee62ccc9 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 19 Jan 2013 19:58:31 -0800 Subject: [PATCH] fix debug message error --- weed-fs/src/cmd/weed/weed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()