kiss: fix lint

This commit is contained in:
Dylan Araps 2019-10-01 22:58:19 +03:00
parent 46b4a99c87
commit 1f1124c251

5
kiss
View File

@ -862,10 +862,9 @@ args() {
# This handles the globbing characters '*', '!', '[' and ']' as per:
# https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
[ "$action" != search ] && [ "$action" != s ] &&
case $* in
case $@ in
*'*'*|*'!'*|*'['*|*']'*)
log kiss "$action $*"
die "Arguments contain invalid characters"
die "Arguments contain invalid characters: '!*[]'"
;;
esac