aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 2b59569..d8b00d5 100755
--- a/kiss
+++ b/kiss
@@ -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"
}