From 30b5847971bd2932dc2416e7172d67793f620ac2 Mon Sep 17 00:00:00 2001 From: WebSTUMP Date: Wed, 11 Oct 2017 13:29:00 +0100 Subject: [PATCH] probe: set nullglob, so it works when disabled --- probes/modrelays-probe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/probes/modrelays-probe b/probes/modrelays-probe index 6245c82..4ce1648 100755 --- a/probes/modrelays-probe +++ b/probes/modrelays-probe @@ -6,6 +6,8 @@ MODRELAYS=moderators.isc.org PROBE_TIMEOUT=$(( 20 * 60 )) PROBE_EXPIRE=$(( 32 * 86400 )) +shopt -s nullglob + case "$1" in received) mode="$1" -- 2.30.2