chiark
/
gitweb
/
~webstump
/
modbot-mtm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b5847
)
probes: Fix "read message" for if the message is empty
author
WebSTUMP
<webstump@chiark.greenend.org.uk>
Thu, 12 Oct 2017 17:03:46 +0000
(18:03 +0100)
committer
WebSTUMP
<webstump@chiark.greenend.org.uk>
Thu, 12 Oct 2017 17:03:46 +0000
(18:03 +0100)
probes/modrelays-probe
patch
|
blob
|
history
diff --git
a/probes/modrelays-probe
b/probes/modrelays-probe
index 4ce164856cdaee895cab95243735835a2c7beaea..22f00a718413f96eef809b89a6a0ef35981cb6b5 100755
(executable)
--- a/
probes/modrelays-probe
+++ b/
probes/modrelays-probe
@@
-231,7
+231,7
@@
maybe-report () {
if ! [ -e "$attempt/$outcome" ]; then return; fi
found_to_report=true
- read <"$attempt/$outcome" message
+ message=$(cat "$attempt/$outcome")
local reported
if [ -e "$attempt/reported" ]; then