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

View File

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