From 15aa57d51b4f7f49d55912650ed13ce573f1e946 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 21 Nov 2011 22:29:00 -0600 Subject: _alpm_ldconfig: return value from _alpm_run_chroot Signed-off-by: Dan McGee --- lib/libalpm/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3-70-g09d2