From 2a1f035b0b61f4d7fb268848d2819808a024f89c Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Mon, 25 Jan 2010 11:34:27 +0100 Subject: Better handling of some error conditions --- pbuilder-apt-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pbuilder-apt-config b/pbuilder-apt-config index ab9e0ef..9bd4949 100755 --- a/pbuilder-apt-config +++ b/pbuilder-apt-config @@ -133,7 +133,7 @@ while :; do break ;; *) - die "Internal error: unhandled arg $1=$2" + die "Unhandled arg=$1" ;; esac done @@ -206,6 +206,9 @@ if [ -n "$profile" ]; then echo "deb $base_mirror $base_dist-$pocket $components" done ;; + *) + die "Unknown profile for base_vendor=$base_vendor" + ;; esac exit 0 fi -- cgit v1.2.3