summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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) {