use exit instead of kill to end script

This commit is contained in:
Tobias Kaupat authored and GitHub committed 2020-08-06 08:44:18 +02:00
1 parent ed609ae89d
commit 925930000c
1 file changed
+1 -1
+1 -1
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