diff --git a/src/freedombone-app-searx b/src/freedombone-app-searx index 8d4460f1..440ff0fd 100755 --- a/src/freedombone-app-searx +++ b/src/freedombone-app-searx @@ -92,7 +92,7 @@ function reconfigure_searx { function create_searx_config { settings_file=${SEARX_PATH}/searx/searx/settings.yml - SEARX_ONION_HOSTNAME=$(echo /var/lib/tor/hidden_service_searx/hostname) + SEARX_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_searx/hostname) SEARX_SECRET_KEY=$(get_completion_param "searx key") echo 'general:' > $settings_file