aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-lib.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-lib.in')
-rw-r--r--src/cpt-lib.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 0578d8b..90468e6 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1885,7 +1885,7 @@ pkg_gentree() (
x) make_deps=first-nomake ;;
r) reverse=1 ;;
n) nonl=1 ;;
- *) return 1
+ *) die "pkg_gentree: Unknown key '$op'"
esac
done
pkg_depends "$1" tree "${make_deps:+first}"