Correct ncroot to ncRoot in OCC invocation
This commit is contained in:
parent
035c7cfabb
commit
e7d6ad8e31
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user