use exit instead of kill to end script

This commit is contained in:
Tobias Kaupat
2020-08-06 08:44:18 +02:00
committed by GitHub
parent ed609ae89d
commit 925930000c

View File

@@ -39,7 +39,7 @@ else
echo "Backup Failed with Status ${rc}"
restic unlock
copyErrorLog
kill 1
exit 1
fi
if [ -n "${RESTIC_FORGET_ARGS}" ]; then