From 9fa4eea58a20d22969ae2a8198616aeebe72b1b9 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Fri, 8 Jul 2022 10:12:15 +0200
Subject: [PATCH] fix typo elog

---
 icinga-cli.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icinga-cli.sh b/icinga-cli.sh
index 5fcb92a..55de2f9 100755
--- a/icinga-cli.sh
+++ b/icinga-cli.sh
@@ -373,7 +373,7 @@ function processCheck(){
       # echo
       if ! test -n "$outPerfdata" && echo "$outPerfdata" | grep "=[0-9\.]*;[0-9\.]*;[0-9\.]*;[0-9\.]*;" >/dev/null; then
         _elog "ABORT - this does not look like performance data: $outPerfdata"
-        _elgo "command was: $myFullscript $myparams"
+        _elog "command was: $myFullscript $myparams"
         exit 1
       fi
       _log "${_logPrefix} check command finished with returncode $rc"
-- 
GitLab