Invert logic

This commit is contained in:
Bob Mottram 2018-05-09 14:30:15 +01:00
parent 1af2de4090
commit c98b2f2e00
1 changed files with 1 additions and 1 deletions

View File

@ -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