mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-31 04:39:49 +08: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
|
||||
if (fgets(script_cmd_buf, sizeof(script_cmd_buf), current_cmdscriptfile()) == NULL) {
|
||||
PrintAndLogEx(ERR, "Unexpected end, [%s]", current_cmdscriptfile());
|
||||
|
||||
if (!pop_cmdscriptfile())
|
||||
break;
|
||||
|
||||
goto check_script;
|
||||
} else {
|
||||
prompt_ctx = PROXPROMPT_CTX_SCRIPTFILE;
|
||||
|
|
Loading…
Reference in a new issue