From 42a14a263c58631dd167ffee53c0dfc069975715 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Fri, 29 Apr 2022 18:15:42 +0300 Subject: [PATCH] fix(clamav): fix typo in cron (#2586) --- charts/stable/clamav/Chart.yaml | 2 +- charts/stable/clamav/templates/_cronjob.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/stable/clamav/Chart.yaml b/charts/stable/clamav/Chart.yaml index 6eb2308236c..e27e68d8496 100644 --- a/charts/stable/clamav/Chart.yaml +++ b/charts/stable/clamav/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://hub.docker.com/r/clamav/clamav - https://docs.clamav.net/ type: application -version: 2.1.10 +version: 2.1.11 annotations: truecharts.org/catagories: | - utilities diff --git a/charts/stable/clamav/templates/_cronjob.tpl b/charts/stable/clamav/templates/_cronjob.tpl index cc689811f95..e9ac6804584 100644 --- a/charts/stable/clamav/templates/_cronjob.tpl +++ b/charts/stable/clamav/templates/_cronjob.tpl @@ -65,11 +65,11 @@ spec: then echo "Exit Status: $status"; echo "No Virus found!"; - elif [ $status -eq 1]; + elif [ $status -eq 1 ]; then echo "Exit Status: $status."; echo "Virus(es) found. Check \"${log_file}\"."; - elif [ $status -eq 2]; + elif [ $status -eq 2 ]; then echo "Exit Status: $status."; echo "Some error(s) occured.";