Browse Source

Return 0 when printing help or version in the windres tool.

llvm_toolchain
Rafal Kupiec 6 months ago
parent
commit
3096bf9255
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tools/windres.c

+ 2
- 2
tools/windres.c View File

@ -87,7 +87,7 @@ static
void print_version(void)
{
printf("XTchain windres (GNU windres compatible) %s\n", WINDRES_VERSION);
exit(-1);
exit(0);
}
static
@ -126,7 +126,7 @@ void print_help(void)
" pei-x86-64\n"
" pe-i386\n"
" pei-i386\n");
exit(1);
exit(0);
}
static


Loading…
Cancel
Save