From 9f1d619fac971c368d3011b1329b4dd6513987f9 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 10 Sep 2019 22:53:56 -0300 Subject: [PATCH] missing argument --- allow_networks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allow_networks.sh b/allow_networks.sh index 71edd1e..a537688 100644 --- a/allow_networks.sh +++ b/allow_networks.sh @@ -15,7 +15,7 @@ ip route \ mv /etc/monit.d/monit.conf~ /etc/monit.d/monit.conf # Configure email -grep -q "${EMAIL}" || echo "set alert ${EMAIL}" >> /etc/monitrc +grep -q "${EMAIL}" /etc/monitrc || echo "set alert ${EMAIL}" >> /etc/monitrc # Reload config monit reload