commit | 6678c37cfcecd762b494628e50000d25ccccbf51 | [log] [tgz] |
---|---|---|
author | Guillaume G. <guillaume.galeazzi+gh@gmail.com> | Mon Mar 17 13:28:22 2025 +0100 |
committer | Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> | Thu Apr 03 20:48:08 2025 +0200 |
tree | 817bb28a43fa0c918c3bde22f8ab2906b40ba5b8 | |
parent | 091af82edb0c04e082c16846e6163d555b93101d [diff] [blame] |
imgtool: dumpinfo: Avoid exit and use return Signed-off-by: Guillaume G. <guillaume.galeazzi+gh@gmail.com>
diff --git a/scripts/imgtool/dumpinfo.py b/scripts/imgtool/dumpinfo.py index 5544657..40ece79 100644 --- a/scripts/imgtool/dumpinfo.py +++ b/scripts/imgtool/dumpinfo.py
@@ -251,7 +251,7 @@ ############################################################################### if silent: - sys.exit(0) + return print("Printing content of signed image:", os.path.basename(imgfile), "\n")