diff --git a/backup.sh b/backup.sh index 84315be..a42b0ea 100755 --- a/backup.sh +++ b/backup.sh @@ -164,13 +164,7 @@ function checkExist { fi } -### ncMaint - pass requested mode change type to Seafile occ -function ncMaint { - sudo -u "${webUser}" php "${ncRoot}/occ" maintenance:mode --"$1" \ - >> "$logFile" 2>&1 - maintResult="$?" - return "$maintResult" -} + ### cleanup - cleanup files and directories created by this script function cleanup {