bash scripts: source code cleaned up (shellcheck)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-04-10 14:00:52 +02:00
parent ebde9d10fd
commit 67afa6b1fb
2 changed files with 5 additions and 15 deletions

View file

@ -580,13 +580,6 @@ EOF
set_result_proxy() {
info_msg "try to set result proxy ..."
local line
local stage=0
local url=" url: $1"
local key=" key: $2"
if [[ -z $2 ]]; then
key=
fi
cp "${SEARX_SETTINGS_PATH}" "${SEARX_SETTINGS_PATH}.bak"
_set_result_proxy "$1" "$2" > "${SEARX_SETTINGS_PATH}"
}