mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-09 03:00:07 -04:00
puts -> printandlog
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user