diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp index 18569849..5c547851 100644 --- a/src/p_lx_elf.cpp +++ b/src/p_lx_elf.cpp @@ -144,7 +144,7 @@ bool PackLinuxI386elf::canPack() // detect possible conflict upon invocation if (phdr->p_vaddr < (unsigned)(0x400000 + file_size) || phdr->p_paddr < (unsigned)(0x400000 + file_size) ) { - throwCantPack("invalid Phdr p_vaddr; try `--force-execve'"); + throwAlreadyPackedByUPX(); // not necessarily, but mostly true return false; } exetype = 1;