From 566fdbdf24c0a2416a76c4ba55e1ce947a335a9b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 24 May 2020 21:05:13 +0300 Subject: [PATCH] kiss: Bye bye ternary --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 2280df8..bf02536 100755 --- a/kiss +++ b/kiss @@ -1381,7 +1381,7 @@ args() { # since the first argument is always an "action" and the arguments that # follow are all package names. action=$1 - shift "$(($# != 1))" + shift "$(($# != 0))" # Unless this is a search, sanitize the user's input. The call to # 'pkg_find()' supports basic globbing, ensure input doesn't expand