Return an exit code so we can use this function like do_tests(). Refactor the caller to handle this. Reduce the size of main() by putting this code into its own function. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/qconfig.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!