Return values

This commit is contained in:
Bob Mottram 2017-06-11 13:09:12 +01:00
parent 5a04d56267
commit ba69e9fe10
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ function onion_service_exists {
onion_service_name="$1"
if [ -f /var/lib/tor/hidden_service_${onion_service_name}/hostname ]; then
echo "1"
echo -n "1"
else
echo "0"
echo -n "0"
fi
}