From 925930000c5311d99a4edc27754722fde9248271 Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Thu, 6 Aug 2020 08:44:18 +0200 Subject: [PATCH] use exit instead of kill to end script --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 0dc79ec..2187c31 100755 --- a/backup.sh +++ b/backup.sh @@ -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