diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-10-01 19:58:18 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-10-01 19:58:18 +0000 |
commit | e25be98b0a93e9d4b439808f9e625cf3b451a444 (patch) | |
tree | 8f69568eb8c0cc32672b21e0e7ae6442112b8677 | |
parent | e47da8b2ec6cf986d381a32764402c290f202a0f (diff) | |
download | cpt-e25be98b0a93e9d4b439808f9e625cf3b451a444.tar.gz |
kiss: fix lint
FossilOrigin-Name: 4ecb5e3408ece4b697252bb58cf4bd252ea6d178ca92688f15b90fab810eefd3
-rwxr-xr-x | kiss | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |