forked from kiss-community/kiss
kiss: Fix shellcheck
This commit is contained in:
parent
f1c8fb5b1b
commit
6f820b9dbf
2
kiss
2
kiss
@ -1371,7 +1371,7 @@ args() {
|
||||
#
|
||||
# This handles the globbing characters '*', '!', '[' and ']' as per:
|
||||
# https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
|
||||
[ "${action##[as]*}" ] && case $* in *\**|*\!*|*\[*|*\]*)
|
||||
[ "${action##[as]*}" ] && case "$*" in *\**|*\!*|*\[*|*\]*)
|
||||
die "Arguments contain invalid characters: '!*[]' ($*)"
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user