diff options
author | Allan McRae <allan@archlinux.org> | 2017-05-09 07:43:22 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-05-09 07:43:22 +0200 |
commit | 45459eebae0b0427dce582985c7c5895da78b7c2 (patch) | |
tree | d72cc06d8a876da434d23131fa47a786750569e9 /scripts/library/output_format.sh | |
parent | adc95f436b55dde320e9be9e38e7f4b48df4cdc5 (diff) | |
download | pacman-45459eebae0b0427dce582985c7c5895da78b7c2.tar.gz pacman-45459eebae0b0427dce582985c7c5895da78b7c2.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>
Treat an empty string being passed the same as recieving a NULL value
and exit searching for an owner.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/library/output_format.sh')
0 files changed, 0 insertions, 0 deletions