Browse Source

Invert logic

Bob Mottram 6 years ago
parent
commit
c98b2f2e00
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-addremove

+ 1
- 1
src/freedombone-addremove View File

@@ -86,7 +86,7 @@ function app_not_on_onion_only {
86 86
     read_config_param ONION_ONLY
87 87
 
88 88
     if [[ "$ONION_ONLY" != 'no' ]]; then
89
-        if ! grep -q "NOT_ON_ONION=1" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${app_name}"; then
89
+        if grep -q "NOT_ON_ONION=1" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${app_name}"; then
90 90
             echo "0"
91 91
             return
92 92
         fi