From 1f1124c251194d87f32d15d1273b1e7bfcfb9614 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 1 Oct 2019 22:58:19 +0300 Subject: [PATCH] kiss: fix lint --- kiss | 5 ++--- 1 file 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