]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - linux/proxmark3.c
termcap is deprecated and doesn't seem to be needed anyway
[proxmark3-svn] / linux / proxmark3.c
index b3621af0af59a9736f5d633dde53a6f7853dacde..2839db93b946222a40292e4064ce61261582cab5 100644 (file)
@@ -86,8 +86,10 @@ int main(int argc, char **argv)
        if (!(devh = OpenProxmark(1))) {
                fprintf(stderr,"PROXMARK3: NOT FOUND!\n");
                marg.usb_present = 0;
+               offline = 1;
        } else {
                marg.usb_present = 1;
+               offline = 0;
        }
 
        pthread_create(&main_loop_t, NULL, &main_loop, &marg);
Impressum, Datenschutz