From 4d45c45f0928c7791429d351dc69b75167888f7d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 20 Nov 2009 12:15:14 +0100 Subject: maint: use EXIT_SUCCESS and EXIT_FAILURE, not 0 and 1 in "usage", too Convert by running these commands: perl -pi -e 's/\b(usage ?)\(1\)/$1(EXIT_FAILURE)/' \ fish/fish.c fuse/guestmount.c perl -pi -e 's/\b(usage ?)\(0\)/$1(EXIT_SUCCESS)/' \ fish/fish.c fuse/guestmount.c * fish/fish.c (main): Replace 0/1 with EXIT_SUCCESS/EXIT_FAILURE. * fuse/guestmount.c (main): Likewise. --- fuse/guestmount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fuse') diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 07c28c01..9f0a39ec 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -1064,10 +1064,10 @@ main (int argc, char *argv[]) exit (EXIT_SUCCESS); case HELP_OPTION: - usage (0); + usage (EXIT_SUCCESS); default: - usage (1); + usage (EXIT_FAILURE); } } -- cgit