From 93c1310cfc9a0317a1b135699a2b9254c90062fb Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 8 Jul 2024 01:55:40 +0200 Subject: [PATCH] borg-backup-nc.sh: fix error add missing 'fi' to close if statement. --- borg-backup-nc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/borg-backup-nc.sh b/borg-backup-nc.sh index 73651eb..d6b512a 100755 --- a/borg-backup-nc.sh +++ b/borg-backup-nc.sh @@ -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