mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Do not delete temporary files of external handlers.
This commit is contained in:
parent
2ff9f1a76f
commit
a27e7d95ee
@ -373,7 +373,7 @@ exec_mailcap_command(void *data)
|
||||
add_to_string(&string, "mailcap:");
|
||||
add_to_string(&string, exec_mailcap->command);
|
||||
if (exec_mailcap->file) {
|
||||
add_to_string(&string, ";/bin/rm -f ");
|
||||
add_to_string(&string, " && /bin/rm -f ");
|
||||
add_to_string(&string, exec_mailcap->file);
|
||||
}
|
||||
|
||||
@ -467,7 +467,7 @@ download_data_store(struct download *download, struct file_download *file_downlo
|
||||
file_download->block ? TERM_EXEC_FG :
|
||||
TERM_EXEC_BG);
|
||||
}
|
||||
/* file_download->delete = 0; */
|
||||
file_download->delete = 0;
|
||||
abort_download_and_beep(file_download, term);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user