summaryrefslogtreecommitdiff
path: root/btrfsctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'btrfsctl.c')
-rw-r--r--btrfsctl.c4
1 files changed, 2 insertions, 2 deletions
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;
}