From 8fc54ea2992e7708c7cdb18c934d5a11d9e4c829 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 19 Oct 2021 16:26:31 +0200 Subject: [PATCH] clean files at the end of function --- evocheck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/evocheck.sh b/evocheck.sh index 813f445..27136c8 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -604,6 +604,7 @@ check_evobackup_exclude_mount() { failed "IS_EVOBACKUP_EXCLUDE_MOUNT" "${mount} is not excluded from ${evobackup_file} backup script" done done + rm -rf "${excludes_file}" } # Verification de la presence du userlogrotate check_userlogrotate() {