aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/package.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3381286..aa8b94b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.10.2l Oct 07, 2011
+0.10.2l Oct 08, 2011
+ * Do not return 1 from slapt_get_pkg_dependencies if no dependency information
* fixed reverse dep lookup to make sure the match is exact
* only create directory structure if chdir succeeded
* remove inclusion of deprecated curl/types.h
diff --git a/src/package.c b/src/package.c
index d5050ca..9e67592 100644
--- a/src/package.c
+++ b/src/package.c
@@ -1347,7 +1347,7 @@ int slapt_get_pkg_dependencies(const slapt_rc_config *global_config,
strcmp(pkg->required," ") == 0 ||
strcmp(pkg->required," ") == 0
)
- return 1;
+ return 0;
if (deps == NULL)
deps = slapt_init_pkg_list();