diff options
author | Allan McRae <allan@archlinux.org> | 2013-07-21 08:48:31 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-07-30 05:02:06 +0200 |
commit | 48861f509a817649f6cbda63e5ed253bdebc4f56 (patch) | |
tree | 5640c73c38852991f005a0ddc4de5c88e39a2343 /src/common/util-common.h | |
parent | d7bd40045c5a8c1240800bddf61ddac3fa4bd3d2 (diff) | |
download | pacman-48861f509a817649f6cbda63e5ed253bdebc4f56.tar.gz pacman-48861f509a817649f6cbda63e5ed253bdebc4f56.tar.xz |
Report missing directory if we can not initialise alpm library
When pacman failed to initialise the alpm library due to the database
directory being missing (either via the root not existing or the database
directory itself not existing), it just printed the non-informative
message "could not find or read directory". Add the directory
information the the error output. E.g.:
error: failed to initialize alpm library
(could not find or read directory: /this/does/not/exist/var/lib/pacman/)
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common/util-common.h')
0 files changed, 0 insertions, 0 deletions