From 3a7a6cce38331e06de0673fd51285d1ce05a1ce8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 19 Nov 2019 12:14:58 +0100 Subject: [PATCH] chg: hf thin info - honor verbose --- client/cmdhfthinfilm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/cmdhfthinfilm.c b/client/cmdhfthinfilm.c index 6f36a0a9b..dad67509b 100644 --- a/client/cmdhfthinfilm.c +++ b/client/cmdhfthinfilm.c @@ -155,10 +155,12 @@ int infoThinFilm(bool verbose) { } if (resp.status == PM3_SUCCESS) { - if (resp.length == 16 || resp.length == 32 || verbose) { + if (resp.length == 16 || resp.length == 32) { print_barcode(resp.data.asBytes, resp.length, verbose); } else { - PrintAndLogEx(WARNING, "Response is wrong length. (%d)", resp.length); + if (verbose) + PrintAndLogEx(WARNING, "Response is wrong length. (%d)", resp.length); + return PM3_ESOFT; } }