From 70c3254be1b82761b0889539828f419e3c0a9581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Grundstr=C3=B6m?= Date: Fri, 20 Jan 2023 16:44:30 +0100 Subject: [PATCH] Use shell syntax over bash --- repo-backup-configmap.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/repo-backup-configmap.yaml b/repo-backup-configmap.yaml index 8797a43..4db0da6 100644 --- a/repo-backup-configmap.yaml +++ b/repo-backup-configmap.yaml @@ -49,9 +49,7 @@ data: err "git clone output:" # Logging git_error as error line by line - while IFS= read -r line;do - err "$line" - done <<< "$git_error" + err "$git_error" exit 1 fi @@ -75,9 +73,7 @@ data: err "gsutil error output snippet:" # Logging gsutil_error as error line by line - while IFS= read -r line;do - err "$line" - done <<< "$gsutil_error" + err "$gsutil_error" exit 1 fi