From 60fc49ad0f1b4c735876d5e1d7f8de331d540b06 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Thu, 4 Jan 2024 16:33:17 +0100 Subject: [PATCH] Append pidfile to temp_files This commit fixes a bug where evobackup does not remove all its temporary files. --- client/zzz_evobackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/zzz_evobackup b/client/zzz_evobackup index 6250403..67cef73 100755 --- a/client/zzz_evobackup +++ b/client/zzz_evobackup @@ -629,7 +629,7 @@ main() { # Initialize a list of files to delete at exit # Any file added to the list will also be deleted at exit - temp_files="${PIDFILE}" + temp_files="${temp_files} ${PIDFILE}" # shellcheck disable=SC2064 trap "rm -f ${temp_files}" EXIT