Bob Mottram 7 years ago
parent
commit
ab87fc0178
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-base-email

+ 1
- 1
src/freedombone-base-email View File

@@ -299,7 +299,7 @@ function configure_email_onion {
299 299
       echo "  route_data = \${perl{onionLookup}{$RISEUP_EMAIL_ONION}}"
300 300
       echo "  no_more"; } > /etc/exim4/conf.d/router/905_exim4-config-riseup
301 301
 
302
-    if ! grep -q "*.onion" /etc/exim4/conf.d/router/200_exim4-config_primary
302
+    if ! grep -q "*.onion" /etc/exim4/conf.d/router/200_exim4-config_primary; then
303 303
        sed -i 's|domains = ! +local_domains|domains = ! +local_domains : ! *.onion : ! riseup.net|g' /etc/exim4/conf.d/router/200_exim4-config_primary
304 304
     fi
305 305