Fixed notification message about NC maint:off

This commit is contained in:
Asif Bacchus 2018-09-04 22:32:42 -06:00
parent 018cc4a0ad
commit cd3e69c081
1 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ else
fi
## Put NextCloud back into operational mode
echo -e "\e[1;36m[`date +%Y-%m-%d` `date +%H:%M:%S`] Putting NextCloud" \
"in maintenance mode..." >> $logFile
echo -e "\e[1;36m[`date +%Y-%m-%d` `date +%H:%M:%S`] Taking NextCloud" \
"out of maintenance mode..." >> $logFile
sudo -u ${webUser} php "${ncroot}/occ maintenance:mode --off" 2>> $logFile
# verify
if [ "$?" = "0" ]; then