1
0
mirror of https://github.com/upx/upx synced 2025-10-26 23:36:41 +08:00

reset done_output_name counter upx_main()

This commit is contained in:
Liam Murphy
2021-01-18 00:16:49 +00:00
committed by Markus F.X.J. Oberhumer
parent 34a25e61c7
commit 984334c9a1

View File

@@ -1409,6 +1409,7 @@ int upx_main(int argc, char *argv[]) {
static char default_argv0[] = "upx";
upx_compiler_sanity_check();
done_output_name = 0;
opt->reset();
if (!argv[0] || !argv[0][0])