From 31a1a554dde7eb757c0fe53c29195bb028c270c2 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Thu, 8 Jun 2023 14:07:38 +0200
Subject: [PATCH] finetune output

---
 check_psqlserver | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check_psqlserver b/check_psqlserver
index 72526dc..783f605 100755
--- a/check_psqlserver
+++ b/check_psqlserver
@@ -161,7 +161,7 @@ function renderCounters(){
   do
     _iValue=${aVals[$_iCounter]}
     _iSpeed=$( ph.perfdeltaspeed "psql-${sColumn}-${_sStoreid}" ${_iValue} sec $_sDeltaUnit)
-    out=$( printf "%-25s: %15s %s \n" "${sColumn}" "${_iValue}" "... delta = ${_iSpeed} per $_sDeltaUnit${NL}" )
+    out=${out}$( printf "%-25s: %15s %s \n" "${sColumn}" "${_iValue}" "... delta = ${_iSpeed} per $_sDeltaUnit${NL}" )
     ph.perfadd "${sColumn}"   "${_iSpeed}"
     _iCounter+=1
   done
-- 
GitLab