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