mirror of
https://github.com/SciresM/hactool.git
synced 2024-11-27 06:20:35 +00:00
Improve bad behavior warning.
This commit is contained in:
parent
0d0435f0b7
commit
773dfc3589
2
main.c
2
main.c
@ -386,7 +386,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
FILE *homekeyfile = open_key_file((tool_ctx.action & ACTION_DEV) ? "dev" : "prod");
|
||||
if (homekeyfile == NULL) {
|
||||
printf("[WARN] prod.keys/dev.keys does not exist.\n");
|
||||
printf("[WARN] %s.keys does not exist.\n", (tool_ctx.action & ACTION_DEV) ? "dev" : "prod");
|
||||
} else if (keyfile == NULL) {
|
||||
keyfile = homekeyfile;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user