Prevent endless restarting of update-htaccess.sh

In version 14 beta there was a bug which let the htaccess fail. Unfortunately
supervisord restarted the script in case of an error which led to it being
endlessly restarted. To prevent this and similar update issues in the future, we
let the update-script exit with code 0 even if there's an error.
This commit is contained in:
madmaurice 2019-08-08 22:11:38 +02:00 committed by root
parent af486d2fc2
commit bf8406bd82
1 changed files with 2 additions and 0 deletions

View File

@ -4,3 +4,5 @@
cd /var/www/html
sudo -u www-data php occ maintenance:update:htaccess
exit 0