diff --git a/check_clientbackup b/check_clientbackup
index 46b8b59e2cbdc38149d2d55e792d55e6f08235fa..373fc69048883788549b8fecb513a4bfca7f3029 100755
--- a/check_clientbackup
+++ b/check_clientbackup
@@ -12,6 +12,7 @@
 # 2022-03-07  v1.5  <axel.hahn@iml.unibe.ch> update scan for results in transfer
 # 2022-03-18  v1.6  <axel.hahn@iml.unibe.ch> show dumped databases
 # 2022-03-21  v1.7  <axel.hahn@iml.unibe.ch> show databases infos for couchdb2 too
+# 2022-03-23  v1.8  <axel.hahn@iml.unibe.ch> FIX: exit with error if backup error occured
 # ======================================================================
 
 . $( dirname $0 )/inc_pluginfunctions
@@ -24,8 +25,9 @@ if [ ! -x $sChecker ]; then
   ph.abort "$sChecker not found - maybe clientbackup is not installed."
 fi
 
-result=$( $sChecker | sed "s#\[[0-9][0-9]*m# #g" )
+result=$( $sChecker )
 rc=$?
+result=${result//\[[0-9][0-9]*m/ }
 
 if [ $rc -eq 0 ]; then
   ph.setStatus "ok"