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

View File

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