diff --git a/btrfsctl.c b/btrfsctl.c index a524e337..92bdf39f 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -260,8 +260,8 @@ int main(int ac, char **av) } printf("%s\n", BTRFS_BUILD_VERSION); if (ret) - exit(0); - else exit(1); + + return 0; }