diff options
author | Allan McRae <allan@archlinux.org> | 2018-01-09 11:48:35 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-01-09 11:48:35 +0100 |
commit | 24ab8717d459c07c51f47b7b66736de17ca23e9e (patch) | |
tree | a86a7f76d337e900d6274a9f861e4e13ef7423b8 /lib/libalpm/dload.h | |
parent | 3a9a510ca873df123a117133c7cb3ebaa711159c (diff) | |
download | pacman-24ab8717d459c07c51f47b7b66736de17ca23e9e.tar.gz pacman-24ab8717d459c07c51f47b7b66736de17ca23e9e.tar.xz |
Handle empty string passed to query_owner
Passing an empty string to pacman -Qo results in:
error: No package owns <first directory in $PATH>
Catch empty strings and report an error.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
0 files changed, 0 insertions, 0 deletions