Avoid variable substitution at trap definition
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
This should fix the temporary files removal.
This commit is contained in:
parent
50b5af6095
commit
e2c50f00d4
|
@ -632,7 +632,7 @@ main() {
|
||||||
temp_files="${PIDFILE}"
|
temp_files="${PIDFILE}"
|
||||||
|
|
||||||
# shellcheck disable=SC2064
|
# shellcheck disable=SC2064
|
||||||
trap "rm -f ${temp_files}" EXIT
|
trap 'rm -f ${temp_files}' EXIT
|
||||||
|
|
||||||
# Update canary to keep track of each run
|
# Update canary to keep track of each run
|
||||||
update-evobackup-canary --who "${PROGNAME}"
|
update-evobackup-canary --who "${PROGNAME}"
|
||||||
|
|
Loading…
Reference in a new issue