From 0678c86dd96be0c0efa658f422253375bd93a8a7 Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 22 Feb 2021 12:52:59 +0000 Subject: pkg_gentree(): exit instead of returning error with unknown key FossilOrigin-Name: 36c7a2c98510370887251c35cc19e7c1a42893d12677fe9c1a93b541d9d56b1c --- src/cpt-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3