kiss-revdepends: Work even if package is uninstalled

This commit is contained in:
Dylan Araps 2020-08-30 14:36:43 +03:00
parent 942f36b672
commit 00671aaa7e
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -3,7 +3,7 @@
# Ignore shellcheck as we want the warning's behavior.
# shellcheck disable=2015
[ "$1" ] && kiss l "${1:-null}" >/dev/null || {
[ "$1" ] || {
printf 'usage: kiss-revdepends [pkg]\n'
exit 1
}