aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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