summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-21 22:29:00 -0600
committerDan McGee <dan@archlinux.org>2011-11-30 22:28:13 -0600
commit15aa57d51b4f7f49d55912650ed13ce573f1e946 (patch)
tree40b2cf4ba080d11f4b578839025b9175ae655faa
parentd7f8838294fc3567fec8fa9521ab9f91d9897829 (diff)
downloadpacman-15aa57d51b4f7f49d55912650ed13ce573f1e946.tar.xz
_alpm_ldconfig: return value from _alpm_run_chroot
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index fbb320ef..c89f3c9c 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -622,7 +622,7 @@ int _alpm_ldconfig(alpm_handle_t *handle)
snprintf(line, PATH_MAX, "%ssbin/ldconfig", handle->root);
if(access(line, X_OK) == 0) {
char *argv[] = { "ldconfig", NULL };
- _alpm_run_chroot(handle, "/sbin/ldconfig", argv);
+ return _alpm_run_chroot(handle, "/sbin/ldconfig", argv);
}
}