diff --git a/client/proxmark3.c b/client/proxmark3.c index dd6d5f951..1e7da269d 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -160,7 +160,7 @@ void main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) { rarg.run = 1; pthread_create(&reader_thread, NULL, &uart_receiver, &rarg); // cache Version information now: - CmdVersion(NULL); + CmdVersion( (script_cmds_file) ? "s" : NULL ); } if (script_cmds_file) { @@ -186,7 +186,7 @@ void main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) { rarg.run = 1; pthread_create(&reader_thread, NULL, &uart_receiver, &rarg); // cache Version information now: - CmdVersion(NULL); + CmdVersion( (script_cmds_file) ? "s" : NULL ); } }