mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-21 12:25:14 +00:00
Don't use quotes when assigning empty strings.
This commit is contained in:
parent
f585447612
commit
051e8b3840
8
hosts
8
hosts
@ -1347,9 +1347,9 @@ remove() {
|
||||
local _is_search_pair=0
|
||||
local _force_skip_prompt=0
|
||||
local _arguments=()
|
||||
local _search_ip=""
|
||||
local _search_hostname=""
|
||||
local _search_string=""
|
||||
local _search_ip=
|
||||
local _search_hostname=
|
||||
local _search_string=
|
||||
|
||||
_debug printf "remove() \${1}: %s\\n" "${1:-}"
|
||||
_debug printf "remove() \${2}: %s\\n" "${2:-}"
|
||||
@ -1592,7 +1592,7 @@ version() {
|
||||
|
||||
# Parse Options ###############################################################
|
||||
|
||||
_CMD=""
|
||||
_CMD=
|
||||
_COMMAND_PARAMETERS=()
|
||||
_USE_DEBUG=0
|
||||
_AUTO_SUDO=0
|
||||
|
Loading…
Reference in New Issue
Block a user