From 69c52e4717c57bba8aecd424317f1af605c84318 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 12 Oct 2017 18:41:19 +0100 Subject: [PATCH] probes: Move setting of info earlier No functional change --- probes/modrelays-probe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/probes/modrelays-probe b/probes/modrelays-probe index 521a040..80109e2 100755 --- 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