From 21089fc346eee954509d96e051f07937c04a37ac Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 25 Feb 2022 00:37:54 +0100 Subject: [PATCH] flasher: skip msg about --force when --force is used --- client/src/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/flash.c b/client/src/flash.c index b8e5d602b..bf1b0d3ec 100644 --- a/client/src/flash.c +++ b/client/src/flash.c @@ -356,10 +356,10 @@ int flash_load(flash_file_t *ctx, bool force) { // We could not find proper version_information if (res == PM3_EUNDEF) PrintAndLogEx(WARNING, "Unable to check version_information"); - PrintAndLogEx(INFO, "Make sure to flash a correct and up-to-date version"); - PrintAndLogEx(INFO, "You can force flashing this firmware by using the option '--force'"); if (force) return PM3_SUCCESS; + PrintAndLogEx(INFO, "Make sure to flash a correct and up-to-date version"); + PrintAndLogEx(INFO, "You can force flashing this firmware by using the option '--force'"); fail: flash_free(ctx); return res;