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:
a6d8635
)
probes: Move setting of info earlier
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 12 Oct 2017 17:41:19 +0000
(18:41 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 12 Oct 2017 17:41:19 +0000
(18:41 +0100)
No functional change
probes/modrelays-probe
patch
|
blob
|
history
diff --git
a/probes/modrelays-probe
b/probes/modrelays-probe
index 521a0403859efe1ac48e2c91722cf18fba80730a..80109e235b2afca1edf3c6ecd943d5cffc08c0fa 100755
(executable)
--- a/
probes/modrelays-probe
+++ b/
probes/modrelays-probe
@@
-244,14
+244,14
@@
maybe-report () {
fi
if [ "x$outcome" = "x$reported" ]; then return; fi
+ local info=${attempt##*/}
+ info=${info//,/ }
+
if [ x"$outcome" = x"ok" ] && [ x"$reported" = x ]; then
do-report-log
return
fi
- local info=${attempt##*/}
- info=${info//,/ }
-
delim=`od -N 50 -An -x -w50 </dev/urandom`
delim=${delim// /}