summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-13 02:37:48 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-13 02:37:48 +0100
commit89099871a4c5404eba9915bf1dda7976e54d0e8b (patch)
tree875486c1c5dadd8ec722d975498863f22f0c98fa
parentde4e3b4a69fa3cc4e09093f69553efd2d5964a6c (diff)
downloadpacman-89099871a4c5404eba9915bf1dda7976e54d0e8b.tar.gz
pacman-89099871a4c5404eba9915bf1dda7976e54d0e8b.tar.xz
Reverted the exit 2 -> exit 0 change. This was there for a reason (so that
pacman didn't check targets and spit out an error message).
-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 f3a94f7a..eebbdaaa 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(0);
+ return(2);
}
while(optind < argc) {