Exit status of 2 seems wrong for -V
This commit is contained in:
parent
b9803b719a
commit
b623b98882
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ static int parseargs(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
if(config->version) {
|
if(config->version) {
|
||||||
version();
|
version();
|
||||||
return(2);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
while(optind < argc) {
|
while(optind < argc) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue