index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2009-08-08 11:23:38 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-08-08 11:23:38 -0500 |
commit | 7bb9c4098b29d7bcc82ff9e9a823d2adc44cc881 (patch) | |
tree | 29ecf1b7b8762426bfcf8c1e2b36d8181c0d1605 /lib/libalpm/util.c | |
parent | e8806748ec6efdf62fd1210873dc2fd38cccdf2a (diff) | |
parent | 6d00025c18e837f57a4f78ee232fe3d8f244f143 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 4 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index e56efb17..082c095b 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -509,7 +509,7 @@ int _alpm_run_chroot(const char *root, const char *cmd) umask(0022); pipe = popen(cmd, "r"); if(!pipe) { - _alpm_log(PM_LOG_ERROR, _("call to popen failed (%s)"), + _alpm_log(PM_LOG_ERROR, _("call to popen failed (%s)\n"), strerror(errno)); exit(1); } @@ -562,7 +562,7 @@ int _alpm_ldconfig(const char *root) if(access(line, F_OK) == 0) { snprintf(line, PATH_MAX, "%ssbin/ldconfig", root); if(access(line, X_OK) == 0) { - _alpm_run_chroot(root, "ldconfig"); + _alpm_run_chroot(root, "/sbin/ldconfig"); } } |