mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
cleanup: also move .pem-revoked files (fixes #237)
This commit is contained in:
@@ -1136,7 +1136,7 @@ command_cleanup() {
|
||||
fileext="$(echo "${filetype}" | cut -d. -f2)"
|
||||
|
||||
# Loop over all files of this type
|
||||
for file in "${certdir}/${filebase}-"*".${fileext}"; do
|
||||
for file in "${certdir}/${filebase}-"*".${fileext}" "${certdir}/${filebase}-"*".${fileext}-revoked"; do
|
||||
# Handle case where no files match the wildcard
|
||||
[[ -f "${file}" ]] || break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user