]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: added the verbose flag, to make the output in "hf search" lesser.
authoriceman1001 <iceman@iuse.se>
Mon, 26 Sep 2016 19:39:04 +0000 (21:39 +0200)
committericeman1001 <iceman@iuse.se>
Mon, 26 Sep 2016 19:39:04 +0000 (21:39 +0200)
client/cmdhflegic.c

index 2200a15b9b69af8fabe12a469801d0f3584d23c0..031265fa89812d0ee3fcfc26b7d44840f8a21336 100644 (file)
@@ -843,11 +843,11 @@ int HFLegicInfo(const char *Cmd, bool verbose) {
                                }
                        }               
                } else {
                                }
                        }               
                } else {
-                       PrintAndLog("legic card select failed");
+                       if ( verbose ) PrintAndLog("legic card select failed");
                        return 1;
                }
        } else {
                        return 1;
                }
        } else {
-               PrintAndLog("command execution time out");
+               if ( verbose ) PrintAndLog("command execution time out");
                return 1;
        }
        return 0;
                return 1;
        }
        return 0;
Impressum, Datenschutz