remove temp metadata_file on continue

This commit is contained in:
Jerome Küttner 2022-01-07 20:58:54 +01:00
parent 12435d3e24
commit 45fd0d4852

View File

@ -683,6 +683,7 @@ do
if [[ "${noclobber}" = "1" ]] && [[ -d "${output_directory}" ]]; then if [[ "${noclobber}" = "1" ]] && [[ -d "${output_directory}" ]]; then
log "Noclobber enabled but directory '${output_directory}' exists. Skipping to avoid overwriting" log "Noclobber enabled but directory '${output_directory}' exists. Skipping to avoid overwriting"
rm -f "${metadata_file}"
continue continue
fi fi
mkdir -p "${output_directory}" mkdir -p "${output_directory}"