From 65c97eb7be24c89cf04f5bb4cf2df1ef01b91ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S?= Date: Tue, 19 Feb 2019 11:24:01 +0100 Subject: [PATCH] Fixes and closes #29 by adding silent grep --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index ef728bc..36a5481 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -768,7 +768,7 @@ if [ -e /etc/debian_version ]; then if [ "$IS_SQUIDEVOLINUXCONF" = 1 ]; then if is_debianversion stretch && is_installed squid; then - (grep -q "^CONFIG=/etc/squid/evolinux-defaults.conf$" /etc/default/squid \ + (grep -qs "^CONFIG=/etc/squid/evolinux-defaults.conf$" /etc/default/squid \ && test -f /etc/squid/evolinux-defaults.conf \ && test -f /etc/squid/evolinux-whitelist-defaults.conf \ && test -f /etc/squid/evolinux-whitelist-custom.conf \