mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-29 08:14:08 +00:00
Uppercase $_USE_DEBUG
reference in _debug
This variable was uppercased in a09d0fc
but this occurrence was missed.
This commit is contained in:
parent
5a1ffa3498
commit
41a84bd0ed
2
hosts
2
hosts
@ -62,7 +62,7 @@ HOSTS_PATH="${HOSTS_PATH:-/etc/hosts}"
|
|||||||
# variable has been set. The command is expected to print a message and
|
# variable has been set. The command is expected to print a message and
|
||||||
# should typically be either `echo`, `printf`, or `cat`.
|
# should typically be either `echo`, `printf`, or `cat`.
|
||||||
_debug() {
|
_debug() {
|
||||||
if [[ "${_use_debug:-"0"}" -eq 1 ]]
|
if [[ "${_USE_DEBUG:-"0"}" -eq 1 ]]
|
||||||
then
|
then
|
||||||
# Prefix debug message with "bug (U+1F41B)"
|
# Prefix debug message with "bug (U+1F41B)"
|
||||||
printf "🐛 "
|
printf "🐛 "
|
||||||
|
Loading…
Reference in New Issue
Block a user