Commit f6e6c1f1 authored by Lukas Schauer's avatar Lukas Schauer

Merge pull request #139 from fancycode/cleanup_skip_non_folders

Skip non-folder entries on cleanup.
parents dec95fff f9430025
......@@ -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