From 58674c7d9ac958e26c39ae27feca5f30159a648b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 21 Apr 2009 12:49:49 +0200 Subject: pkg: real_priority: Warn upon invalid priority --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 } -- cgit v1.2.3