1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 05:55:36 -07:00

kiss: Fix shellcheck

This commit is contained in:
Dylan Araps 2020-04-21 13:05:28 +03:00
parent 9ace6a1b83
commit e67bb8e6b8
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -1236,7 +1236,7 @@ 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##[as]*}" ] && [ "${action##[as]*}" ] &&
case $* in *\**|*\!*|*\[*|*\]*) case "$*" in *\**|*\!*|*\[*|*\]*)
die "Arguments contain invalid characters: '!*[]'" die "Arguments contain invalid characters: '!*[]'"
esac esac