From 6f820b9dbf323dfaf55aaa30621449fa94e2e9b5 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 25 May 2020 08:35:34 +0300 Subject: [PATCH] kiss: Fix shellcheck --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 94403e8..37a7b73 100755 --- a/kiss +++ b/kiss @@ -1371,7 +1371,7 @@ args() { # # This handles the globbing characters '*', '!', '[' and ']' as per: # https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html - [ "${action##[as]*}" ] && case $* in *\**|*\!*|*\[*|*\]*) + [ "${action##[as]*}" ] && case "$*" in *\**|*\!*|*\[*|*\]*) die "Arguments contain invalid characters: '!*[]' ($*)" esac