From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prasad Joshi Subject: [PATCH] btrfs-progs: Corrected return values from btrfsctl.c Date: Sat, 17 Oct 2009 14:52:19 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: linux-btrfs@vger.kernel.org Return-path: List-ID: btrfsctl.c should return 0 if ioctl succeeds Signed-off-by: Prasad Joshi --- diff --git a/btrfsctl.c b/btrfsctl.c index 66c4e89..d602fc4 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -232,8 +232,8 @@ int main(int ac, char **av) } printf("%s\n", BTRFS_BUILD_VERSION); if (ret) - exit(0); - else exit(1); + else + exit(0); } -- v0.19-3