Skip to content

Commit 64b3db0

Browse files
committed
Fix stm32update.py script
Exit if STM32 serie to add already exists Signed-off-by: Frederic Pillon <[email protected]>
1 parent 8888918 commit 64b3db0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CI/utils/stm32update.py

+1
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ def main():
562562
stm32_list = [upargs.add.upper()]
563563
else:
564564
print(upargs.add + " can't be added as it already exists!")
565+
exit(1)
565566
updateSTRepo()
566567
if upargs.check:
567568
printVersion()

0 commit comments

Comments
 (0)