diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-12-27 00:29:45 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-12-27 18:12:38 +0000 |
commit | 07322efdf800075923895e78f21aa2860ad323c1 (patch) | |
tree | e4c32121705afe41f6258c2547db0ae673de4740 /infra | |
parent | dac9ec4b20e7af84c9741ab9472f012b90060306 (diff) |
dgit-repos-policy-debian: getpackage: better error reporting
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'infra')
-rwxr-xr-x | infra/dgit-repos-policy-debian | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian index ad21564..35c719a 100755 --- a/infra/dgit-repos-policy-debian +++ b/infra/dgit-repos-policy-debian @@ -182,7 +182,7 @@ sub statpackage () { } sub getpackage () { - die unless @ARGV >= 1; + die "need PACKAGE" unless @ARGV >= 1; $pkg = shift @ARGV; die unless $pkg =~ m/^$package_re$/; |