Btrfs-progs: fix magic return value in cmds-send.c
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Wed, 4 Sep 2013 15:22:29 +0000 (23:22 +0800)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:20:41 +0000 (08:20 -0400)
commit59fd13f39adac690f8161a7028f1dfdd5f9d0a3e
tree709ecfeb7187a0788c35448e3d1c3a90fd1a636f
parentd9f612220fc5e8780abe512ea5eeb3eae931dd45
Btrfs-progs: fix magic return value in cmds-send.c

If btrfs send return failure, we return 1,otherwise 0 will be returned.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-send.c