Return values
This commit is contained in:
parent
5a04d56267
commit
ba69e9fe10
|
@ -54,9 +54,9 @@ function onion_service_exists {
|
||||||
onion_service_name="$1"
|
onion_service_name="$1"
|
||||||
|
|
||||||
if [ -f /var/lib/tor/hidden_service_${onion_service_name}/hostname ]; then
|
if [ -f /var/lib/tor/hidden_service_${onion_service_name}/hostname ]; then
|
||||||
echo "1"
|
echo -n "1"
|
||||||
else
|
else
|
||||||
echo "0"
|
echo -n "0"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue