btrfs-progs: fix wrong return value
PATCH 3/3 btrfs-progs: fix wrong return value
From: Miao Xie <[email protected]>
btrfsctl returns 1 if it does something successfully. this patch fixes this problem.
Signed-off-by Miao Xie <[email protected]>
--- btrfsctl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
btrfsctl.c +2 -2
@@ -249,8 +249,8 @@ int main(int ac, char **av) }printf ("%s\n" ,BTRFS_BUILD_VERSION );if (ret) -exit (0 ); -else exit (1 ); + +return 0 ; }
Signature · 1 line
1.6.5.2