mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[terminal] Do not count non-existent temporary files
Weird names were counted on slave terminals, but files were not created.
This commit is contained in:
parent
43f970d1f4
commit
33731cf82c
@ -440,7 +440,7 @@ exec_on_terminal(struct terminal *term, const char *path,
|
||||
} else {
|
||||
size_t len = strlen(delete_);
|
||||
|
||||
if (len && get_opt_bool("ui.sessions.postpone_unlink", NULL)) {
|
||||
if (len && *path && get_opt_bool("ui.sessions.postpone_unlink", NULL)) {
|
||||
temporary_files[delete_] = true;
|
||||
len = 0;
|
||||
delete_ = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user