aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-10-01 19:58:18 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-10-01 19:58:18 +0000
commite25be98b0a93e9d4b439808f9e625cf3b451a444 (patch)
tree8f69568eb8c0cc32672b21e0e7ae6442112b8677
parente47da8b2ec6cf986d381a32764402c290f202a0f (diff)
downloadcpt-e25be98b0a93e9d4b439808f9e625cf3b451a444.tar.gz
kiss: fix lint
FossilOrigin-Name: 4ecb5e3408ece4b697252bb58cf4bd252ea6d178ca92688f15b90fab810eefd3
-rwxr-xr-xkiss5
1 files changed, 2 insertions, 3 deletions
diff --git a/kiss b/kiss
index 88a758f..b88102e 100755
--- a/kiss
+++ b/kiss
@@ -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