mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-17 20:36:52 +02:00
Remove debug echo in command_cleanup()
Signed-off-by: Simon Deziel <simon@sdeziel.info>
This commit is contained in:
committed by
Lukas Schauer
parent
e17456778f
commit
199cd59774
@@ -1923,7 +1923,6 @@ command_cleanup() {
|
|||||||
# Check if current file is in use, if unused move to archive directory
|
# Check if current file is in use, if unused move to archive directory
|
||||||
filename="$(basename "${file}")"
|
filename="$(basename "${file}")"
|
||||||
if [[ ! "${filename}" = "${current}" ]] && [[ -f "${certdir}/${filename}" ]]; then
|
if [[ ! "${filename}" = "${current}" ]] && [[ -f "${certdir}/${filename}" ]]; then
|
||||||
echo "${filename}"
|
|
||||||
if [[ "${PARAM_CLEANUPDELETE:-}" = "yes" ]]; then
|
if [[ "${PARAM_CLEANUPDELETE:-}" = "yes" ]]; then
|
||||||
echo "Deleting unused file: ${certname}/${filename}"
|
echo "Deleting unused file: ${certname}/${filename}"
|
||||||
rm "${certdir}/${filename}"
|
rm "${certdir}/${filename}"
|
||||||
|
|||||||
Reference in New Issue
Block a user