be gentler, use throwAlreadyPackedByUPX()

committer: jreiser <jreiser> 1036784004 +0000
This commit is contained in:
John Reiser
2002-11-08 19:33:24 +00:00
parent e0ad859eef
commit 7f69f5937a
+1 -1
View File
@@ -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;