Removed final call turn off NC maint mode. Redundant.
This commit is contained in:
parent
7d52face6d
commit
929f1cef9b
12
backup.sh
12
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"
|
||||
|
Loading…
Reference in New Issue
Block a user