1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-25 14:17:48 +00:00

Uppercase $_USE_DEBUG reference in _debug

This variable was uppercased in a09d0fc but this occurrence was missed.
This commit is contained in:
William Melody 2015-06-28 17:30:01 -07:00
parent 5a1ffa3498
commit 41a84bd0ed

2
hosts
View File

@ -62,7 +62,7 @@ HOSTS_PATH="${HOSTS_PATH:-/etc/hosts}"
# variable has been set. The command is expected to print a message and
# should typically be either `echo`, `printf`, or `cat`.
_debug() {
if [[ "${_use_debug:-"0"}" -eq 1 ]]
if [[ "${_USE_DEBUG:-"0"}" -eq 1 ]]
then
# Prefix debug message with "bug (U+1F41B)"
printf "🐛 "