From 6cfd6e608a542eee0e7840961a91fdac45136910 Mon Sep 17 00:00:00 2001 From: localhorst Date: Fri, 24 Apr 2020 23:17:34 +0200 Subject: [PATCH] added comments --- check_AutoBackup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_AutoBackup.sh b/check_AutoBackup.sh index 2d81732..ae4dc11 100644 --- a/check_AutoBackup.sh +++ b/check_AutoBackup.sh @@ -53,10 +53,10 @@ do overdue=$(($diff-${repos_interval[i]})) #stores diff time since last backup in seconds fn_convertSecondsToHumanReadable $overdue # convert in human readable overdue=$fn_result #stores diff time since last backup in human readable - fn_convertSecondsToHumanReadable ${repos_interval[i]} - plannedIntervall=$fn_result + fn_convertSecondsToHumanReadable ${repos_interval[i]} #convert planned interval for repo in human readable + plannedIntervall=$fn_result #stores the planned interval for repo in human readable echo -e "\e[31mOverdue: $overdue" - echo -e "\e[39m " + echo -e "\e[39m " #reset console color to black rm -f mail_content.txt cat >> mail_content.txt <