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

View File

@ -619,18 +619,6 @@ echo -e "${op}${stamp} Borgbackup completed... begin cleanup" \
"${normal}" >> "$logFile" "${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 ### Exit script
echo -e "${bold}${default}${stamp} ***Normal exit process***${normal}" \ echo -e "${bold}${default}${stamp} ***Normal exit process***${normal}" \
>> "$logFile" >> "$logFile"