hosted: Report missing USB access rights only if no debugger found.

This commit is contained in:
Uwe Bonnes 2020-06-07 16:18:28 +02:00 committed by UweBonnes
parent eabd69dcdb
commit a4cdd6b310
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ static int find_debuggers( BMP_CL_OPTIONS_t *cl_opts,bmp_info_t *info)
report = true;
goto rescan;
} else {
if (found_debuggers > 0)
access_problems = false;
found_debuggers = 0;
}
}