]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
ADD: @piwi's fixes to .history
[proxmark3-svn] / client / cmdmain.c
index d31147f91531d7a4c633a6d6e4e77e7f570b2231..51aada76c2dcab07e51a29bab034bf62bb350861 100644 (file)
@@ -75,7 +75,7 @@ int CmdLS(const char *Cmd){
 int CmdQuit(const char *Cmd)
 {
   exit(0);
-  return 0;
+  return 99;
 }
 
 int CmdRev(const char *Cmd)
@@ -174,8 +174,8 @@ bool WaitForResponse(uint32_t cmd, UsbCommand* response) {
 // Entry point into our code: called whenever the user types a command and
 // then presses Enter, which the full command line that they typed.
 //-----------------------------------------------------------------------------
-void CommandReceived(char *Cmd) {
-  CmdsParse(CommandTable, Cmd);
+int CommandReceived(char *Cmd) {
+       return CmdsParse(CommandTable, Cmd);
 }
 
 //-----------------------------------------------------------------------------
Impressum, Datenschutz