Commit f9430025 authored by Joachim Bauch's avatar Joachim Bauch

Skip non-folder entries on cleanup.

parent dec95fff
......@@ -675,6 +675,9 @@ command_cleanup() {
# Loop over all certificate directories
for certdir in "${BASEDIR}/certs/"*; do
# Skip if entry is not a folder
[[ -d "${certdir}" ]] || continue
# Get certificate name
certname="$(basename "${certdir}")"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment