summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-13 01:37:48 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-13 01:37:48 +0000
commit89099871a4c5404eba9915bf1dda7976e54d0e8b (patch)
tree875486c1c5dadd8ec722d975498863f22f0c98fa /src
parentde4e3b4a69fa3cc4e09093f69553efd2d5964a6c (diff)
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).
Diffstat (limited to 'src')
-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) {