kiss: Bye bye ternary

This commit is contained in:
Dylan Araps 2020-05-24 21:05:13 +03:00
parent fc1734c36c
commit 566fdbdf24
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -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