mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
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).
This commit is contained in:
parent
de4e3b4a69
commit
89099871a4
@ -405,7 +405,7 @@ static int parseargs(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
if(config->version) {
|
if(config->version) {
|
||||||
version();
|
version();
|
||||||
return(0);
|
return(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
while(optind < argc) {
|
while(optind < argc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user