kiss: fix lint
This commit is contained in:
parent
46b4a99c87
commit
1f1124c251
5
kiss
5
kiss
|
@ -862,10 +862,9 @@ args() {
|
||||||
# This handles the globbing characters '*', '!', '[' and ']' as per:
|
# This handles the globbing characters '*', '!', '[' and ']' as per:
|
||||||
# https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
|
# https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
|
||||||
[ "$action" != search ] && [ "$action" != s ] &&
|
[ "$action" != search ] && [ "$action" != s ] &&
|
||||||
case $* in
|
case $@ in
|
||||||
*'*'*|*'!'*|*'['*|*']'*)
|
*'*'*|*'!'*|*'['*|*']'*)
|
||||||
log kiss "$action $*"
|
die "Arguments contain invalid characters: '!*[]'"
|
||||||
die "Arguments contain invalid characters"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue