mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
ref(bootstrap): use -- in printf -- '%s' "${foo}" just to be safe
This commit is contained in:
@@ -66,9 +66,9 @@ fn_printf() { (
|
||||
a_text="${2}"
|
||||
if fn_is_tty; then
|
||||
#shellcheck disable=SC2059
|
||||
printf "${a_style}" "${a_text}"
|
||||
printf -- "${a_style}" "${a_text}"
|
||||
else
|
||||
printf '%s' "${a_text}"
|
||||
printf -- '%s' "${a_text}"
|
||||
fi
|
||||
); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user