[PATCH] Btrfs-progs: make btrfsctl return values like everybody else

2010-02-02 Thread Josef Bacik
This patch makes btrfsctl return 0 for success and 1 for failure, which is the behavior of all other userspace applications. Thanks, Signed-off-by: Josef Bacik --- btrfsctl.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/btrfsctl.c b/btrfsctl.c index 66c4e89..73d

btrfsctl return values

2010-01-05 Thread ra
Hi! btrfsctl returns 1 on success and 0 if an error occurs. This has already been reported[0]. Has the patch not been applied intentionally or did it just slip through? Cheers, Robert [0] http://article.gmane.org/gmane.comp.file-systems.btrfs/3878 -- plain text within encrypted emails prefe