Try without echo

This commit is contained in:
Bob Mottram 2017-06-11 13:02:26 +01:00
parent 247a2ac0f8
commit 5a04d56267
1 changed files with 1 additions and 1 deletions

View File

@ -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