From e7d6ad8e319b6a7b1bcd01d4f0819d9ea70d2897 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 23 Oct 2018 05:02:13 -0600 Subject: [PATCH] Correct ncroot to ncRoot in OCC invocation --- root/NCscripts/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/NCscripts/backup.sh b/root/NCscripts/backup.sh index d422503..86dd731 100755 --- a/root/NCscripts/backup.sh +++ b/root/NCscripts/backup.sh @@ -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"