Fix minor typos in log output of backup.sh

This commit is contained in:
Kevin Köllmann
2021-05-05 20:15:34 +02:00
committed by Tobias Kaupat
parent 0b72ec94a7
commit f308eca25b
+2 -2
View File
@@ -35,7 +35,7 @@ restic backup /data ${RESTIC_JOB_ARGS} --tag=${RESTIC_TAG?"Missing environment v
backupRC=$? backupRC=$?
logLast "Finished backup at $(date)" logLast "Finished backup at $(date)"
if [[ $backupRC == 0 ]]; then if [[ $backupRC == 0 ]]; then
echo "Backup Successfull" echo "Backup Successful"
else else
echo "Backup Failed with Status ${backupRC}" echo "Backup Failed with Status ${backupRC}"
restic unlock restic unlock
@@ -48,7 +48,7 @@ if [[ $backupRC == 0 ]] && [ -n "${RESTIC_FORGET_ARGS}" ]; then
rc=$? rc=$?
logLast "Finished forget at $(date)" logLast "Finished forget at $(date)"
if [[ $rc == 0 ]]; then if [[ $rc == 0 ]]; then
echo "Forget Successfull" echo "Forget Successful"
else else
echo "Forget Failed with Status ${rc}" echo "Forget Failed with Status ${rc}"
restic unlock restic unlock