summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman')
-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) {