| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
`rm` would fail when one of the files is not present, which is quite undesirable log (not harmful until `set -e` is introduced).
There was a problem hiding this comment.
Approving since __do_as_rspamd_user() only appears to be relevant to the rspamd DKIM generation script.
We'd have avoided all this if permissions on the config volume weren't relevant correct? After the LDAP feature rework is done I'll fix up DKIM keypair generation for v15 too.
Sorry, something went wrong.
Absolutely! |
Sorry, something went wrong.
| [[ -f ${PUBLIC_KEY_FILE} ]] && rm "${PUBLIC_KEY_FILE}" | ||
| [[ -f ${PUBLIC_KEY_DNS_FILE} ]] && rm "${PUBLIC_KEY_DNS_FILE}" | ||
| [[ -f ${PRIVATE_KEY_FILE} ]] && rm "${PRIVATE_KEY_FILE}" |
There was a problem hiding this comment.
Maybe for a follow up "tuning":
rm -f "${PUBLIC_KEY_FILE}" etc. will always succeed, no matter if the file exist or not.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Fixes #3873
Type of change
Checklist