mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
better fault text
This commit is contained in:
parent
351a8d26af
commit
8c65649258
1 changed files with 3 additions and 0 deletions
|
@ -241,8 +241,11 @@ check_script:
|
||||||
|
|
||||||
// read script file
|
// read script file
|
||||||
if (fgets(script_cmd_buf, sizeof(script_cmd_buf), current_cmdscriptfile()) == NULL) {
|
if (fgets(script_cmd_buf, sizeof(script_cmd_buf), current_cmdscriptfile()) == NULL) {
|
||||||
|
PrintAndLogEx(ERR, "Unexpected end, [%s]", current_cmdscriptfile());
|
||||||
|
|
||||||
if (!pop_cmdscriptfile())
|
if (!pop_cmdscriptfile())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
goto check_script;
|
goto check_script;
|
||||||
} else {
|
} else {
|
||||||
prompt_ctx = PROXPROMPT_CTX_SCRIPTFILE;
|
prompt_ctx = PROXPROMPT_CTX_SCRIPTFILE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue