Improve bad behavior warning.

This commit is contained in:
Michael Scire 2018-07-23 22:20:31 -07:00
parent 0d0435f0b7
commit 773dfc3589

2
main.c
View File

@ -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 {