summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-12 08:23:36 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-12 08:23:36 +0100
commitb623b98882d44c3f979e2d64d35167b63b42fedb (patch)
tree47b988479303571bb6862a268572d07da60a8be2
parentb9803b719a92a2f5a24f116ffc5ad561d59ccd6c (diff)
downloadpacman-b623b98882d44c3f979e2d64d35167b63b42fedb.tar.gz
pacman-b623b98882d44c3f979e2d64d35167b63b42fedb.tar.xz
Exit status of 2 seems wrong for -V
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
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) {