@@ -110,7 +110,7 @@ If needed, set PUBLIC_URL of your WEB service in the '${DOT_CONFIG#"$REPO_ROOT/"
110110 SERVICE_USER : ${SERVICE_USER}
111111
112112EOF
113− [ ! -z ${1+x} ] && err_msg "$1"
113+ [ ! -z "${1+x}" ] && err_msg "$1"
114114}
115115
116116main() {
@@ -403,8 +403,8 @@ test_local_searx() {
403403 tee_stderr 0.1 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix"
404404cd ${SEARX_SRC}
405405sed -i -e "s/debug : False/debug : True/g" "$SEARX_SETTINGS"
406−timeout 5 python3 searx/webapp.py &
407−sleep 1
406+timeout 10 python3 searx/webapp.py &
407+sleep 3
408408curl --location --verbose --head --insecure $SEARX_INTERNAL_URL
409409sed -i -e "s/debug : True/debug : False/g" "$SEARX_SETTINGS"
410410EOF