From f183076d6ce39f02aa6f79b39aa4113e3c13ede4 Mon Sep 17 00:00:00 2001 From: Johannes Truschnigg Date: Fri, 18 Mar 2022 16:44:52 +0100 Subject: [PATCH] Improve config suggestion output --- config_suggest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config_suggest b/config_suggest index c808ce4..a39b0da 100755 --- a/config_suggest +++ b/config_suggest @@ -65,7 +65,7 @@ END { printf("%5.2f stdev avg %-5.1f min %-5.1f max %-5.1f %s\n", stdev, alat, peers_min[p], peers_max[p], p) | cmd_stats } } - printf("FUDGE_MS=%.1f\n", 2 + (2.5 * stdevs/peercnt)) + printf("FUDGE_MS=\"%.1f\"\n", 2 + (2.2 * stdevs/peercnt)) for (p in peers_pinglist) { #print p " " peers_pinglist[p] @@ -91,4 +91,7 @@ END { printf "\"\n" }' "${sto}" +echo "" >&2 +echo "" >&2 + rm -f "${fpo}" "${sto}" -- 2.39.5