mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
_alpm_ldconfig: return value from _alpm_run_chroot
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
d7f8838294
commit
15aa57d51b
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user