mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 05:05:12 +01:00
Condition fix
This commit is contained in:
@@ -15,7 +15,7 @@ stamp() {
|
||||
local data
|
||||
local proxychains=""
|
||||
|
||||
if [ -n ${TOR_HOST} ]; then
|
||||
if [ -n "${TOR_HOST}" ]; then
|
||||
proxychains="PROXYCHAINS_ONE_PROXY=\"socks5 `getent hosts ${TOR_HOST} | awk '{ print $1 }'` ${TOR_PORT}\" proxychains4"
|
||||
fi
|
||||
|
||||
@@ -65,7 +65,7 @@ upgrade() {
|
||||
local returncode
|
||||
local proxychains=""
|
||||
|
||||
if [ -n ${TOR_HOST} ]; then
|
||||
if [ -n "${TOR_HOST}" ]; then
|
||||
proxychains="PROXYCHAINS_ONE_PROXY=\"socks5 `getent hosts ${TOR_HOST} | awk '{ print $1 }'` ${TOR_PORT}\" proxychains4"
|
||||
fi
|
||||
|
||||
@@ -119,7 +119,7 @@ verify() {
|
||||
local data
|
||||
local proxychains=""
|
||||
|
||||
if [ -n ${TOR_HOST} ]; then
|
||||
if [ -n "${TOR_HOST}" ]; then
|
||||
proxychains="PROXYCHAINS_ONE_PROXY=\"socks5 `getent hosts ${TOR_HOST} | awk '{ print $1 }'` ${TOR_PORT}\" proxychains4"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user