Browse Source

Return values

Bob Mottram 7 years ago
parent
commit
ba69e9fe10
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-utils-onion

+ 2
- 2
src/freedombone-utils-onion View File

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