From a53f1eb80a38c0cb61a79140d7167e7fab3ac280 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 10 Sep 2019 10:49:57 +0300 Subject: [PATCH] kiss cleanup --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }