mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-24 21:57:35 +00:00
Unenable shellcheck SC2183 for printf format string.
This commit is contained in:
parent
6bde3438c6
commit
3e326dad13
1
hosts
1
hosts
@ -424,6 +424,7 @@ _print_entries() {
|
|||||||
|
|
||||||
_current_divided=$((${#_parts[0]} / 8))
|
_current_divided=$((${#_parts[0]} / 8))
|
||||||
_tab_count=$((_max_divided - _current_divided + 1))
|
_tab_count=$((_max_divided - _current_divided + 1))
|
||||||
|
# shellcheck disable=SC2183
|
||||||
_tabs="$(printf "%*s" ${_tab_count} | tr " " '\t')"
|
_tabs="$(printf "%*s" ${_tab_count} | tr " " '\t')"
|
||||||
|
|
||||||
if [[ -n "${_parts[2]:-}" ]]
|
if [[ -n "${_parts[2]:-}" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user