Verify the presence of the borg executable.
This commit is contained in:
parent
989e38e24a
commit
97ff057d3f
1 changed files with 6 additions and 0 deletions
6
ckupeye
6
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue