Avoid echo
This commit is contained in:
parent
f912b830c8
commit
3155260932
|
@ -1300,7 +1300,6 @@ function add_onion_service {
|
|||
if ! grep -q "hidden_service_${onion_service_name}" /etc/tor/torrc; then
|
||||
echo "HiddenServiceDir /var/lib/tor/hidden_service_${onion_service_name}/" >> /etc/tor/torrc
|
||||
echo "HiddenServicePort ${onion_service_port_from} 127.0.0.1:${onion_service_port_to}" >> /etc/tor/torrc
|
||||
echo $"Added onion site for ${onion_service_name}"
|
||||
fi
|
||||
|
||||
systemctl restart tor
|
||||
|
|
Loading…
Reference in New Issue