Fix minor typos in log output of backup.sh

This commit is contained in:
Kevin Köllmann
2021-05-04 17:38:00 +02:00
committed by Tobias Kaupat
parent 0b72ec94a7
commit f308eca25b

View File

@@ -35,7 +35,7 @@ restic backup /data ${RESTIC_JOB_ARGS} --tag=${RESTIC_TAG?"Missing environment v
backupRC=$?
logLast "Finished backup at $(date)"
if [[ $backupRC == 0 ]]; then
echo "Backup Successfull"
echo "Backup Successful"
else
echo "Backup Failed with Status ${backupRC}"
restic unlock
@@ -48,7 +48,7 @@ if [[ $backupRC == 0 ]] && [ -n "${RESTIC_FORGET_ARGS}" ]; then
rc=$?
logLast "Finished forget at $(date)"
if [[ $rc == 0 ]]; then
echo "Forget Successfull"
echo "Forget Successful"
else
echo "Forget Failed with Status ${rc}"
restic unlock