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