flasher: skip msg about --force when --force is used
This commit is contained in:
1 parent
da908315b0
commit
21089fc346
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user