From 5e556513122f9d6601cf0645e40b31d3a3589610 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Feb 2021 08:51:47 +0300 Subject: [PATCH] silence getenv-based config check --- app/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/startup.sh b/app/startup.sh index 1db70be..197f66e 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -77,7 +77,7 @@ if [ ! -s $DST_DIR/config.php ]; then define('NGINX_XACCEL_PREFIX', '/tt-rss'); EOF else - egrep 'SELF_URL_PATH.*getenv' $DST_DIR/config.php || \ + egrep -q 'SELF_URL_PATH.*getenv' $DST_DIR/config.php || \ echo -e "\nWARNING: you're using old-style config.php, overrides via .env will not work.\n" >/dev/stderr fi