_alpm_ldconfig: return value from _alpm_run_chroot

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-11-21 22:29:00 -06:00
parent d7f8838294
commit 15aa57d51b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}