Browse Source

More info on onion failures

Bob Mottram 7 years ago
parent
commit
247a2ac0f8
2 changed files with 3 additions and 1 deletions
  1. 2
    0
      src/freedombone-app-rss
  2. 1
    1
      src/freedombone-utils-onion

+ 2
- 0
src/freedombone-app-rss View File

@@ -325,6 +325,7 @@ function install_rss_main {
325 325
     RSS_READER_ONION_HOSTNAME=$(add_onion_service rss 80 ${RSS_READER_ONION_PORT})
326 326
     if [[ "$RSS_READER_ONION_HOSTNAME" != *".onion" ]]; then
327 327
         echo $'Unable to create onion address for rss reader site'
328
+        echo "$RSS_READER_ONION_HOSTNAME"
328 329
         exit 7352582
329 330
     fi
330 331
 
@@ -333,6 +334,7 @@ function install_rss_main {
333 334
     RSS_MOBILE_READER_ONION_HOSTNAME=$(add_onion_service rss_mobile 80 ${RSS_MOBILE_READER_ONION_PORT})
334 335
     if [[ "$RSS_MOBILE_READER_ONION_HOSTNAME" != *".onion" ]]; then
335 336
         echo $'Unable to create onion address for rss mobile site'
337
+        echo "$RSS_MOBILE_READER_ONION_HOSTNAME"
336 338
         exit 7639532
337 339
     fi
338 340
 

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

@@ -147,7 +147,7 @@ function add_onion_service {
147 147
 
148 148
     if [[ $(onion_service_exists ${onion_service_name}) == "0" ]]; then
149 149
         echo $"${onion_service_name} onion site hostname not found"
150
-        exit 76362
150
+        exit 763624
151 151
     fi
152 152
 
153 153
     onion_address=$(cat /var/lib/tor/hidden_service_${onion_service_name}/hostname)