Skip to content
Snippets Groups Projects
Commit c98b2f2e authored by Bob Mottram's avatar Bob Mottram
Browse files

Invert logic

parent 1af2de40
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment