chiark
/
gitweb
/
~webstump
/
modbot-urcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
probes: Fix "read message" for if the message is empty
[modbot-urcm.git]
/
probes
/
modrelays-probe
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