diff --git a/client/proxmark3.c b/client/proxmark3.c index aef3c5979..a16a6a7a8 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -467,7 +467,7 @@ int main(int argc, char *argv[]) { if (port != NULL) usb_present = OpenProxmark(port, waitCOMPort, 20, false, speed); - if (TestProxmark() == 0) + if (usb_present && (TestProxmark() == 0)) usb_present = false; if (!usb_present) PrintAndLogEx(INFO, "Running in " _YELLOW_("OFFLINE") "mode. Check \"%s -h\" if it's not what you want.\n", exec_name);