summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/lint_pkgbuild/backup.sh.in
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2019-11-06 02:42:11 +0100
committerAllan McRae <allan@archlinux.org>2019-11-08 07:32:55 +0100
commit27f354a7874b965bf223832bdf9749504cd1a590 (patch)
treebc3b4c976c71469185d5d7cefd5229888fed8375 /scripts/libmakepkg/lint_pkgbuild/backup.sh.in
parent94982d0061890529cc22401b6763fb5e9ef4e7d1 (diff)
downloadpacman-27f354a7874b965bf223832bdf9749504cd1a590.tar.gz
pacman-27f354a7874b965bf223832bdf9749504cd1a590.tar.xz
pacman+libalpm: handle search errors
Previously, pacman treated no matches and an error during search the same. To fix this, alpm_db_search now returns its status as an int and instead takes the to be returned list as a param. Allowing front ends to easily differentiate between errors and no matches. Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/backup.sh.in')
0 files changed, 0 insertions, 0 deletions