fix premature exit on borg installation check
This commit is contained in:
parent
769cb332a9
commit
4eb9abccf8
@ -253,10 +253,10 @@ if [ ! -f "$configDetails" ]; then
|
|||||||
badParam dne "(--details default)" "$configDetails"
|
badParam dne "(--details default)" "$configDetails"
|
||||||
fi
|
fi
|
||||||
# is borg installed?
|
# is borg installed?
|
||||||
command -v borg > /dev/null || \
|
if ! command -v borg > /dev/null; then
|
||||||
printf "\n${err}ERROR: BORG is not installed on this system!${norm}\n\n"
|
printf "\n${err}ERROR: BORG is not installed on this system!${norm}\n\n"
|
||||||
exit 3
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
### start logging
|
### start logging
|
||||||
|
Loading…
Reference in New Issue
Block a user