Try without echo
This commit is contained in:
parent
247a2ac0f8
commit
5a04d56267
|
@ -124,7 +124,7 @@ function add_onion_service {
|
|||
onion_stealth_name="$4"
|
||||
|
||||
if [[ $(onion_service_exists ${onion_service_name}) == "1" ]]; then
|
||||
echo $(cat /var/lib/tor/hidden_service_${onion_service_name}/hostname)
|
||||
cat /var/lib/tor/hidden_service_${onion_service_name}/hostname
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue