From 97ff057d3f0fbd36bf3dee5bf80f5f71834acd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Tue, 4 Feb 2020 07:06:34 +0100 Subject: [PATCH] Verify the presence of the borg executable. --- ckupeye | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ckupeye b/ckupeye index e39992d..c8c5a62 100755 --- a/ckupeye +++ b/ckupeye @@ -113,6 +113,12 @@ export BORG_BASE_DIR # Preparation # +if [ -z $BORG_EXECUTABLE ] +then + echo "Borg executable not found." + exit 1 +fi + if [ -e $CLIENT_RUNFILE ] && ps -p $(cat $CLIENT_RUNFILE) > /dev/null then echo "Another backup instance is running. Skipping"