From: WebSTUMP Date: Wed, 11 Oct 2017 12:29:00 +0000 (+0100) Subject: probe: set nullglob, so it works when disabled X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?p=modbot-mtm.git;a=commitdiff_plain;h=30b5847971bd2932dc2416e7172d67793f620ac2 probe: set nullglob, so it works when disabled --- 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"