Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/asp.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-08 14:12:19 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-08 21:56:12 -0400
commit685d19f72b3053de70a37be84d2ee9cec0f3e344 (patch)
tree54351d5ad674ef7f5ad2886cb1eac6d620549579 /asp.in
parented75c977e259d97b5b8762b362f384a465db26fc (diff)
asp: die on passing invalid internal type
Diffstat (limited to 'asp.in')
-rw-r--r--asp.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/asp.in b/asp.in
index c908ae0..94cc420 100644
--- a/asp.in
+++ b/asp.in
@@ -109,6 +109,9 @@ dump_packages() {
local)
dumpfn=remote_get_tracked_refs
;;
+ *)
+ die 'internal error: invalid dump type: "%s"' "$1"
+ ;;
esac
for remote in "${ARCH_GIT_REPOS[@]}"; do