aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-08 08:57:16 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-04-08 08:57:16 -0700
commit56bc6764eade9b76ad4c843e8a85c7c8464f0658 (patch)
tree63e08bd12f261e160413cffe8bd045ab9229a087
parentmailing-lists: be really clear that mail from non-subscribed addresses is dro... (diff)
downloadwww-hugo.tar.gz
www-hugo.tar.bz2
www-hugo.zip
bin/parse-packages.rb: fix exithugo
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xbin/parse-packages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/parse-packages.rb b/bin/parse-packages.rb
index 3f85227..a000ac8 100755
--- a/bin/parse-packages.rb
+++ b/bin/parse-packages.rb
@@ -12,7 +12,7 @@ begin
xml.remove_namespaces!
rescue
# Bail out if it's not valid XML
- return []
+ abort("#{XML} is not valid XML")
end
packages ||= { 'updates' => [] }