mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 10:34:45 +08:00
puts -> printandlog
This commit is contained in:
parent
702e9b774e
commit
fbec6b0c35
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ static int CmdScriptRun(const char *Cmd) {
|
|||
// get the top of the stack as the error and pop it off
|
||||
const char *str = lua_tostring(lua_state, lua_gettop(lua_state));
|
||||
lua_pop(lua_state, 1);
|
||||
puts(str);
|
||||
PrintAndLogEx(FAILED, _RED_("error") " - %s", str);
|
||||
}
|
||||
|
||||
//luaL_dofile(lua_state, buf);
|
||||
|
|
Loading…
Reference in a new issue