From 4fe2dc1b961bd284ff7c4ead04d8890422669c62 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 25 Jul 2011 01:26:05 -0500 Subject: [PATCH] pkg: croak if dependency tree is incomplete --- pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg.c b/pkg.c index ccd238a..969fb11 100644 --- a/pkg.c +++ b/pkg.c @@ -55,7 +55,7 @@ pkg_traverse(pkg_t *root, if (pkgdep == NULL) { fprintf(stderr, "dependency '%s' is not satisfiable, see PKG_CONFIG_PATH\n", node->package); - continue; + exit(EXIT_FAILURE); } pkg_traverse(pkgdep, pkg_traverse_func, data, maxdepth - 1);