pkg: croak if dependency tree is incomplete

pull/1/merge
William Pitcock 2011-07-25 01:26:05 -05:00
parent 05d596b9bc
commit 4fe2dc1b96
1 changed files with 1 additions and 1 deletions

2
pkg.c
View File

@ -55,7 +55,7 @@ pkg_traverse(pkg_t *root,
if (pkgdep == NULL) if (pkgdep == NULL)
{ {
fprintf(stderr, "dependency '%s' is not satisfiable, see PKG_CONFIG_PATH\n", node->package); 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); pkg_traverse(pkgdep, pkg_traverse_func, data, maxdepth - 1);