From b623b98882d44c3f979e2d64d35167b63b42fedb Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 12 Feb 2007 07:23:36 +0000 Subject: Exit status of 2 seems wrong for -V --- src/pacman/pacman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index eebbdaaa..f3a94f7a 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -405,7 +405,7 @@ static int parseargs(int argc, char *argv[]) } if(config->version) { version(); - return(2); + return(0); } while(optind < argc) { -- cgit v1.2.3-70-g09d2