Removed final call turn off NC maint mode. Redundant.

This commit is contained in:
Asif Bacchus 2018-10-14 10:38:23 -06:00
parent 7d52face6d
commit 929f1cef9b
1 changed files with 0 additions and 12 deletions

View File

@ -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"