mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-06 08:08:53 +08:00
revert tainted
This commit is contained in:
parent
ab222a06b9
commit
81e7e34a24
1 changed files with 1 additions and 3 deletions
|
@ -157,11 +157,9 @@ check_script:
|
|||
memset(script_cmd_buf, 0, sizeof(script_cmd_buf));
|
||||
|
||||
// read script file
|
||||
if (!fgets(script_cmd_buf, sizeof(script_cmd_buf), current_cmdscriptfile())) {
|
||||
if (fgets(script_cmd_buf, sizeof(script_cmd_buf), current_cmdscriptfile()) == NULL) {
|
||||
if (!pop_cmdscriptfile())
|
||||
break;
|
||||
if (script_cmd_buf == NULL)
|
||||
break;
|
||||
goto check_script;
|
||||
} else {
|
||||
|
||||
|
|
Loading…
Reference in a new issue