mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-27 08:03:20 +00:00
offline: avoid spurious "Sending bytes to proxmark failed" on exit
This commit is contained in:
1 parent
42cb2a32e8
commit
8a7274ec34
1 file changed
+5
-3
+5
-3
@@ -261,9 +261,11 @@ check_script:
|
||||
}
|
||||
} // end while
|
||||
|
||||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
|
||||
msleep(100); // Make sure command is sent before killing client
|
||||
if (session.pm3_present) {
|
||||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
|
||||
msleep(100); // Make sure command is sent before killing client
|
||||
}
|
||||
|
||||
while (current_cmdscriptfile())
|
||||
pop_cmdscriptfile();
|
||||
|
||||
Reference in new issue
Block a user