1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-24 21:57:35 +00:00

Don't use quotes when assigning empty strings.

This commit is contained in:
William Melody 2020-06-07 13:54:21 -07:00
parent f585447612
commit 051e8b3840

8
hosts
View File

@ -1347,9 +1347,9 @@ remove() {
local _is_search_pair=0 local _is_search_pair=0
local _force_skip_prompt=0 local _force_skip_prompt=0
local _arguments=() local _arguments=()
local _search_ip="" local _search_ip=
local _search_hostname="" local _search_hostname=
local _search_string="" local _search_string=
_debug printf "remove() \${1}: %s\\n" "${1:-}" _debug printf "remove() \${1}: %s\\n" "${1:-}"
_debug printf "remove() \${2}: %s\\n" "${2:-}" _debug printf "remove() \${2}: %s\\n" "${2:-}"
@ -1592,7 +1592,7 @@ version() {
# Parse Options ############################################################### # Parse Options ###############################################################
_CMD="" _CMD=
_COMMAND_PARAMETERS=() _COMMAND_PARAMETERS=()
_USE_DEBUG=0 _USE_DEBUG=0
_AUTO_SUDO=0 _AUTO_SUDO=0