From 8241153b294d762246ba6c4d539efe9c46d54743 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sun, 11 Jun 2017 12:19:40 +0100
Subject: [PATCH] Quotes

---
 src/freedombone-app-rss | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/freedombone-app-rss b/src/freedombone-app-rss
index 2fe40ac0e..d5b8cabe8 100755
--- a/src/freedombone-app-rss
+++ b/src/freedombone-app-rss
@@ -323,7 +323,7 @@ function install_rss_main {
     rss_create_database
 
     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'
         exit 7352582
     fi
@@ -331,7 +331,7 @@ function install_rss_main {
     sleep 4
 
     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'
         exit 7639532
     fi
-- 
GitLab