Remove debug echo in command_cleanup()

Signed-off-by: Simon Deziel <simon@sdeziel.info>
This commit is contained in:
Simon Deziel
2021-06-08 11:13:04 -04:00
committed by Lukas Schauer
parent e17456778f
commit 199cd59774

View File

@@ -1923,7 +1923,6 @@ command_cleanup() {
# Check if current file is in use, if unused move to archive directory
filename="$(basename "${file}")"
if [[ ! "${filename}" = "${current}" ]] && [[ -f "${certdir}/${filename}" ]]; then
echo "${filename}"
if [[ "${PARAM_CLEANUPDELETE:-}" = "yes" ]]; then
echo "Deleting unused file: ${certname}/${filename}"
rm "${certdir}/${filename}"