chiark / gitweb /
probe: set nullglob, so it works when disabled
authorWebSTUMP <webstump@chiark.greenend.org.uk>
Wed, 11 Oct 2017 12:29:00 +0000 (13:29 +0100)
committerWebSTUMP <webstump@chiark.greenend.org.uk>
Wed, 11 Oct 2017 12:29:00 +0000 (13:29 +0100)
probes/modrelays-probe

index 6245c82..4ce1648 100755 (executable)
@@ -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"