fix init error if DB unreachable
This commit is contained in:
parent
fedda7b774
commit
5a7b6255c7
@ -1,4 +1,8 @@
|
||||
* BUGFIX
|
||||
* fix init error if DB not available
|
||||
* ENHANCEMENT
|
||||
* remove stdout redirect for the supercronic main process
|
||||
* remove log redirect from cron scripts
|
||||
* remove `FRESHRSS_LIMITS_MAX_INACTIVITY`
|
||||
* SECURITY
|
||||
* update PHP to address [CVE-2019-11043](https://de.tenable.com/blog/cve-2019-11043-vulnerability-in-php-fpm-could-lead-to-remote-code-execution-on-nginx)
|
||||
|
@ -23,6 +23,7 @@ if [ "${FRESHRSS_DEFAULT_USER}" ]; then
|
||||
*"username already taken"*) ;;
|
||||
*)
|
||||
echo $UCREATE
|
||||
rm -rf "/var/www/app/data/users/$FRESHRSS_DEFAULT_USER"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user