diff --git a/scripts/test_urls.py b/scripts/test_urls.py
index b029c03a348e1bd1a962bedfa46c9723e82c2881..96eb1a018ab896e519e904f0d661df46ffdc5e7d 100755
--- a/scripts/test_urls.py
+++ b/scripts/test_urls.py
@@ -109,9 +109,8 @@ for url in urls:
         broken.append(url)
     print(url, "OK" if status else "FAIL", f"{end - start:0.4f}s")
 
-print(f"Found {len(broken)} broken URLs in {len(urls)} tested")
+print(f"Found {len(broken)} broken URLs in {len(urls)} tested:")
+for b in broken:
+    print(" ", b)
 
-if broken:
-    sys.exit(1)
-
-sys.exit(0)
+sys.exit(1 if broken else 0)