Return 0 when printing help or version in the windres tool.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fdd5e32ea0
commit
3096bf9255
|
@ -87,7 +87,7 @@ static
|
||||||
void print_version(void)
|
void print_version(void)
|
||||||
{
|
{
|
||||||
printf("XTchain windres (GNU windres compatible) %s\n", WINDRES_VERSION);
|
printf("XTchain windres (GNU windres compatible) %s\n", WINDRES_VERSION);
|
||||||
exit(-1);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
@ -126,7 +126,7 @@ void print_help(void)
|
||||||
" pei-x86-64\n"
|
" pei-x86-64\n"
|
||||||
" pe-i386\n"
|
" pe-i386\n"
|
||||||
" pei-i386\n");
|
" pei-i386\n");
|
||||||
exit(1);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
|
Loading…
Reference in New Issue