mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-31 18:24:26 +01:00
TOR first, fixed when OFF, small tweaks
This commit is contained in:
@@ -56,7 +56,8 @@ curl_it() {
|
||||
local response
|
||||
local rnd=$(dd if=/dev/urandom bs=5 count=1 | xxd -pc 5)
|
||||
|
||||
if [ "${torbypass}" = "true" ]; then
|
||||
if [ "${torbypass}" = "true" ] || [ ! -f "curlcfg" ]; then
|
||||
# If we want to bypass tor or the config file doesn't exist
|
||||
torbypass=""
|
||||
else
|
||||
torbypass="-K curlcfg"
|
||||
|
||||
Reference in New Issue
Block a user