Invert logic
This commit is contained in:
parent
1af2de4090
commit
c98b2f2e00
|
@ -86,7 +86,7 @@ function app_not_on_onion_only {
|
||||||
read_config_param ONION_ONLY
|
read_config_param ONION_ONLY
|
||||||
|
|
||||||
if [[ "$ONION_ONLY" != 'no' ]]; then
|
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"
|
echo "0"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue