borg-backup-nc.sh: fix error add missing 'fi' to close if statement.

This commit is contained in:
Christoph 2024-07-08 01:55:40 +02:00
parent e57583a5d9
commit 93c1310cfc

View File

@ -268,6 +268,7 @@ fi
if [[ -z "${NC_PATH}" ]] ; then
fatal "Nextcloud's DocumentRoot directory not found!"
fi
if [[ -h "${NC_PATH}" ]] ; then
BORG_NC_PATH="${NC_PATH} $(realpath "${NC_PATH}")"
else