X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/5ee53a0e75c48de359108f5d21d4b829ed504467..91d62a18fb74387dfe99b57c83bfd737cc871193:/client/cmdmain.c diff --git a/client/cmdmain.c b/client/cmdmain.c index d31147f9..51aada76 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -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); } //-----------------------------------------------------------------------------