Verify the presence of the borg executable.
This commit is contained in:
parent
989e38e24a
commit
97ff057d3f
6
ckupeye
6
ckupeye
|
@ -113,6 +113,12 @@ export BORG_BASE_DIR
|
||||||
# Preparation
|
# 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
|
if [ -e $CLIENT_RUNFILE ] && ps -p $(cat $CLIENT_RUNFILE) > /dev/null
|
||||||
then
|
then
|
||||||
echo "Another backup instance is running. Skipping"
|
echo "Another backup instance is running. Skipping"
|
||||||
|
|
Loading…
Reference in a new issue