From ff1e2e6e4abd34305cfc3c1352a2d4cce802f226 Mon Sep 17 00:00:00 2001 From: Antoine Lima Date: Thu, 23 Mar 2023 22:02:20 +0000 Subject: [PATCH] fix(runcron): typos --- runcron | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runcron b/runcron index c7401cd..a5dba15 100755 --- a/runcron +++ b/runcron @@ -4,10 +4,10 @@ ret=$? if [[ "$ret" != 0 || -s /tmp/autorestic-err.log ]] then - cat <(echo "Command failed with return code $ret and log:") /tmp/tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Failed" root + cat <(echo "Command failed with return code $ret and log:") /tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Failed" root else if [[ $(wc -l < /tmp/autorestic.log) -gt 15 ]] then - cat <(echo -e "Command successfully finished with the following log:") /tmp/tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Success" root + cat <(echo -e "Command successfully finished with the following log:") /tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Success" root fi fi