mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
kiss: Bye bye ternary
This commit is contained in:
parent
fc1734c36c
commit
566fdbdf24
2
kiss
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user