mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-10 03:01:28 +00:00
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>
This commit is contained in:
parent
d9f612220f
commit
59fd13f39a
@ -715,7 +715,7 @@ out:
|
||||
close(send.mnt_fd);
|
||||
free(send.root_path);
|
||||
subvol_uuid_search_finit(&send.sus);
|
||||
return ret;
|
||||
return !!ret;
|
||||
}
|
||||
|
||||
const char * const cmd_send_usage[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user