Fixed notification message about NC maint:off
This commit is contained in:
parent
018cc4a0ad
commit
cd3e69c081
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user