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"
|
||||
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
|
||||
|
||||
fi
|
||||
|
||||
|
||||
### start logging
|
||||
|
Loading…
Reference in New Issue
Block a user