From 323e05cc20b9c6f3235e6b94046f9aa587643c87 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 26 Sep 2016 21:39:04 +0200 Subject: [PATCH] CHG: added the verbose flag, to make the output in "hf search" lesser. --- client/cmdhflegic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 2200a15b..031265fa 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -843,11 +843,11 @@ int HFLegicInfo(const char *Cmd, bool verbose) { } } } else { - PrintAndLog("legic card select failed"); + if ( verbose ) PrintAndLog("legic card select failed"); return 1; } } else { - PrintAndLog("command execution time out"); + if ( verbose ) PrintAndLog("command execution time out"); return 1; } return 0; -- 2.39.2