summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 7aabb4d..557faf0 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -205,6 +205,7 @@ real_priority () {
pkg_info () {
cd $PDIR/$1 || return
+ [ -z "$1" ] && die "Not enough arguments\n"
info "Package: "
echo "$1"
info "Priority: "