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 <