From e25be98b0a93e9d4b439808f9e625cf3b451a444 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 1 Oct 2019 19:58:18 +0000 Subject: kiss: fix lint FossilOrigin-Name: 4ecb5e3408ece4b697252bb58cf4bd252ea6d178ca92688f15b90fab810eefd3 --- kiss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kiss') 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 -- cgit v1.2.3