chiark
/
gitweb
/
~webstump
/
modbot-ulm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9942475
)
probe: set nullglob, so it works when disabled
author
WebSTUMP
<webstump@chiark.greenend.org.uk>
Wed, 11 Oct 2017 12:29:00 +0000
(13:29 +0100)
committer
WebSTUMP
<webstump@chiark.greenend.org.uk>
Wed, 11 Oct 2017 12:29:00 +0000
(13:29 +0100)
probes/modrelays-probe
patch
|
blob
|
history
diff --git
a/probes/modrelays-probe
b/probes/modrelays-probe
index 6245c82804543dde67dafb66600b4019b00048d9..4ce164856cdaee895cab95243735835a2c7beaea 100755
(executable)
--- 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"