chiark
/
gitweb
/
~webstump
/
modbot-ulm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
probes: Move setting of info earlier
[modbot-ulm.git]
/
probes
/
modrelays-probe
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
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
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// /}
delim=`od -N 50 -An -x -w50 </dev/urandom`
delim=${delim// /}