From 929f1cef9b0e688c7fc0d9d46e4fb8eaa18c2a38 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 14 Oct 2018 10:38:23 -0600 Subject: [PATCH] Removed final call turn off NC maint mode. Redundant. --- backup.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/backup.sh b/backup.sh index 13bd11d..ba5bc0b 100755 --- a/backup.sh +++ b/backup.sh @@ -619,18 +619,6 @@ echo -e "${op}${stamp} Borgbackup completed... begin cleanup" \ "${normal}" >> "$logFile" -### Exit NextCloud maintenance mode -ncMaint off -# check if successful -if [ "$maintResult" = "0" ]; then - echo -e "${info}${stamp} -- [INFO] NextCloud now in normal operating mode" \ - "--${normal}" >> "$logFile" -else - cleanup - quit 101 -fi - - ### Exit script echo -e "${bold}${default}${stamp} ***Normal exit process***${normal}" \ >> "$logFile"