kiss cleanup

This commit is contained in:
Dylan Araps 2019-09-10 10:49:57 +03:00
parent 71332bab86
commit a53f1eb80a
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -68,7 +68,7 @@ pkg_find() {
# A package may also not be found due to a repository not being
# readable by the current user. Either way, we need to die here.
[ -z "$2" ] && die "Package '$1' not in any repository"
[ "$2" ] || die "Package '$1' not in any repository"
printf '%s\n' "$2"
}