diff --git a/borg-backup-nc.sh b/borg-backup-nc.sh index df88f1e..73651eb 100755 --- a/borg-backup-nc.sh +++ b/borg-backup-nc.sh @@ -270,6 +270,8 @@ if [[ -z "${NC_PATH}" ]] ; then fatal "Nextcloud's DocumentRoot directory not found!" if [[ -h "${NC_PATH}" ]] ; then BORG_NC_PATH="${NC_PATH} $(realpath "${NC_PATH}")" +else + BORG_NC_PATH="${NC_PATH}" fi if [[ -z "${BORG_HOST}" ]] ; then