Revert last fix

It breaks the backup. Because of `set -u`, we can initialize
temp_files using temp_files.
This commit is contained in:
Alexis Ben Miloud--Josselin 2024-01-05 18:03:17 +01:00
parent 60fc49ad0f
commit 50b5af6095

View file

@ -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="${temp_files} ${PIDFILE}"
temp_files="${PIDFILE}"
# shellcheck disable=SC2064
trap "rm -f ${temp_files}" EXIT