Correct ncroot to ncRoot in OCC invocation

This commit is contained in:
Asif Bacchus 2018-10-23 05:02:13 -06:00
parent 035c7cfabb
commit e7d6ad8e31
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ function checkExist {
### ncMaint - pass requested mode change type to NextCloud occ ### ncMaint - pass requested mode change type to NextCloud occ
function ncMaint { function ncMaint {
sudo -u ${webUser} php ${ncroot}/occ maintenance:mode --$1 \ sudo -u ${webUser} php ${ncRoot}/occ maintenance:mode --$1 \
>> "$logFile" 2>&1 >> "$logFile" 2>&1
maintResult="$?" maintResult="$?"
return "$maintResult" return "$maintResult"