Btrfs-progs: let the error message outputed only once
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Wed, 27 Feb 2013 11:03:21 +0000 (19:03 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 Feb 2013 15:13:15 +0000 (16:13 +0100)
commit9f166a337cbadcc98673e5f171aff7cd8b5936f2
tree3650db0dc2a4f2a96721d87eecbf147257c88e31
parent5e242256708816234434dfc373714f6cffbce666
Btrfs-progs: let the error message outputed only once

If we fail to execute the command:
btrfs qgroup show <mnt>
It will output the follow messages:
ERROR: can't perform the search - Inappropriate ioctl for device
ERROR: can't list qgroups

The error is outputed twice, this is wrong, fix it.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
cmds-qgroup.c