fix init error if DB unreachable
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2019-10-28 19:15:46 +01:00
parent fedda7b774
commit 5a7b6255c7
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,8 @@
* BUGFIX
* fix init error if DB not available
* ENHANCEMENT * ENHANCEMENT
* remove stdout redirect for the supercronic main process * remove stdout redirect for the supercronic main process
* remove log redirect from cron scripts * remove log redirect from cron scripts
* remove `FRESHRSS_LIMITS_MAX_INACTIVITY` * 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)

View File

@ -23,6 +23,7 @@ if [ "${FRESHRSS_DEFAULT_USER}" ]; then
*"username already taken"*) ;; *"username already taken"*) ;;
*) *)
echo $UCREATE echo $UCREATE
rm -rf "/var/www/app/data/users/$FRESHRSS_DEFAULT_USER"
exit 1 exit 1
;; ;;
esac esac