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 6245c82804543dde67dafb66600b4019b00048d9..4ce164856cdaee895cab95243735835a2c7beaea 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"