This commit is contained in:
Bob Mottram 2017-06-11 12:19:40 +01:00
parent f9a98d2d07
commit 8241153b29
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ function install_rss_main {
rss_create_database rss_create_database
RSS_READER_ONION_HOSTNAME=$(add_onion_service rss 80 ${RSS_READER_ONION_PORT}) RSS_READER_ONION_HOSTNAME=$(add_onion_service rss 80 ${RSS_READER_ONION_PORT})
if [[ $RSS_READER_ONION_HOSTNAME != *".onion" ]]; then if [[ "$RSS_READER_ONION_HOSTNAME" != *".onion" ]]; then
echo $'Unable to create onion address for rss reader site' echo $'Unable to create onion address for rss reader site'
exit 7352582 exit 7352582
fi fi
@ -331,7 +331,7 @@ function install_rss_main {
sleep 4 sleep 4
RSS_MOBILE_READER_ONION_HOSTNAME=$(add_onion_service rss_mobile 80 ${RSS_MOBILE_READER_ONION_PORT}) RSS_MOBILE_READER_ONION_HOSTNAME=$(add_onion_service rss_mobile 80 ${RSS_MOBILE_READER_ONION_PORT})
if [[ $RSS_MOBILE_READER_ONION_HOSTNAME != *".onion" ]]; then if [[ "$RSS_MOBILE_READER_ONION_HOSTNAME" != *".onion" ]]; then
echo $'Unable to create onion address for rss mobile site' echo $'Unable to create onion address for rss mobile site'
exit 7639532 exit 7639532
fi fi