提交 45ad6e9d 编写于 作者: Peacoor Zomboss's avatar Peacoor Zomboss

Fix injector

上级 3e819936
......@@ -13,9 +13,9 @@
void write_help()
{
printf("Usage: injector32/injector64 <option>\n");
printf("The option can be:\n");
printf(" -h: Show this help\n");
printf("Usage: injector32/injector64 <options>\n");
printf("The options can be:\n");
printf(" -h: Show this help\n");
printf(" -i=<PID>: Inject to the PID\n");
printf(" -x=<EXE>: Inject to the EXE\n");
printf("\n");
......@@ -69,6 +69,7 @@ int main(int argc, char *argv[])
printf("Can not find DLL \"%s\"\n", dll_path);
exit(1);
}
fclose(fp);
argc--;
argv++;
if (argc == 0)
......@@ -99,6 +100,6 @@ int main(int argc, char *argv[])
}
else {
printf("Unknown error\n");
exit(1);
exit(-1);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册