echo 'dnsmasq2'
elif grep -q '^address=' "$file"; then
echo 'dnsmasq3'
- elif grep -q '^0.0.0.0' "$file" || grep -q '^127.0.0.1' "$file"; then
+ elif grep -q '^0\.0\.0\.0' "$file" || grep -q '^127\.0\.0\.1' "$file"; then
echo 'hosts'
elif [ -n "$(sed "$domainsFilter" "$file" | head -1)" ]; then
echo 'domains'
json_close_array
procd_close_data
procd_close_instance
+ return 0
}
adb_status() {
n=$((n+1))
done
fi
+ return 0
}
# shellcheck disable=SC2120
adb_stop() {
local validation_result="$3"
- load_environment "$validation_result" 'quiet' || return 1
+ load_environment "$validation_result" 'quiet' || return 0
if [ -s "$outputFile" ]; then
output "Stopping $serviceName... "
cache 'create'
output "${_ERROR_}: $(get_text 'errorStopping')!\\n"
fi
fi
+ return 0
}
adb_pause() {