summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-21 12:49:49 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-21 12:49:49 +0200
commit58674c7d9ac958e26c39ae27feca5f30159a648b (patch)
treef4e2105d93413cd7f6ad49d94277f2f9e6f93f4d /bin
parent8e40f4accf972d22281097b01aee872083d692d4 (diff)
pkg: real_priority: Warn upon invalid priority
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index fa0a919..f78ff98 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -390,7 +390,7 @@ function real_priority {
3) echo 'standard' ;;
2) echo 'optional' ;;
1) echo 'extra' ;;
- *) echo ;;
+ *) warn "invalid priority: $!" ;;
esac
}