imap-download: fix delete original email
This commit is contained in:
parent
05b3936940
commit
2235764ea6
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ do_attachments() {
|
||||||
# Unpack the attachments
|
# Unpack the attachments
|
||||||
munpack -C "${temp_dir}" "${filename}";
|
munpack -C "${temp_dir}" "${filename}";
|
||||||
# Delete the original email file and any description files
|
# Delete the original email file and any description files
|
||||||
rm "${filename}";
|
rm "${temp_dir}/${filename}";
|
||||||
find "${temp_dir}" -iname '*.desc' -delete;
|
find "${temp_dir}" -iname '*.desc' -delete;
|
||||||
|
|
||||||
# Move the attachment files to the output directory
|
# Move the attachment files to the output directory
|
||||||
|
|
Loading…
Reference in a new issue