From c98b2f2e007cb97301628a5984afd8f4bc92f1c1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 May 2018 14:30:15 +0100 Subject: [PATCH] Invert logic --- src/freedombone-addremove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-addremove b/src/freedombone-addremove index 277da7fe..5f5cdcec 100755 --- a/src/freedombone-addremove +++ b/src/freedombone-addremove @@ -86,7 +86,7 @@ function app_not_on_onion_only { read_config_param ONION_ONLY if [[ "$ONION_ONLY" != 'no' ]]; then - if ! grep -q "NOT_ON_ONION=1" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${app_name}"; then + if grep -q "NOT_ON_ONION=1" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${app_name}"; then echo "0" return fi