fix premature exit on borg installation check

This commit is contained in:
Asif Bacchus 2019-05-24 21:18:54 -06:00
parent 769cb332a9
commit 4eb9abccf8
1 changed files with 3 additions and 3 deletions

View File

@ -253,10 +253,10 @@ if [ ! -f "$configDetails" ]; then
badParam dne "(--details default)" "$configDetails"
fi
# 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"
exit 3
exit 3
fi
### start logging