aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-10 07:49:56 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-10 07:49:56 +0000
commit0d658a0566c14bf55c22dbcb441984ffdb378ac4 (patch)
treecdb26531e32a6824ec9818346b914beef6b1c345 /kiss
parent9341f626e628b17b269292f1fa2f7cea0e2155e5 (diff)
downloadcpt-0d658a0566c14bf55c22dbcb441984ffdb378ac4.tar.gz
kiss cleanup
FossilOrigin-Name: 58883197fcce8feeb4497304a182928d91a7e44e2ab098b375739983f942adaa
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"
}