From 18c5f42647d4abd0439f9c0478e67ba4c1af6da8 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 20 Dec 2023 17:14:54 +0100 Subject: [PATCH] Pipes zu Doppelpunkt --- check_backup_one | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_backup_one b/check_backup_one index 27ac16d..316b37e 100755 --- a/check_backup_one +++ b/check_backup_one @@ -95,8 +95,8 @@ case "$sMode" in ph.setStatus critical fi ph.status "Server Backups - $iTotal server - $iErrors errors" - echo "$data" - + echo "$data" | tr '|' ':' + ;; "status") typeset -i iRunning; iRunning=$( grep "STATUS" <<< "$data" | cut -f 2 -d " ") -- GitLab