aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2011-10-08 01:14:19 +0000
committerJason Woodward2011-10-08 01:15:54 +0000
commit51af269b85494de3dd0aac0655e70a6c6f2243c2 (patch)
tree0a9d93c46534b40321e8fb01ab8450a4be22b958 /src
parent43b447b52e576a5d33cd34696c56696e05392410 (diff)
downloadslapt-get-51af269b85494de3dd0aac0655e70a6c6f2243c2.tar.gz
Do not return 1 from slapt_get_pkg_dependencies if no dependency information
This should return 0 as the contract/comment says.
Diffstat (limited to 'src')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
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();