mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Also delete the list .idx.bak.
This commit is contained in:
parent
8cf7559a7e
commit
fcead8ea96
1 changed files with 3 additions and 0 deletions
3
data.c
3
data.c
|
@ -1831,6 +1831,9 @@ xs_val *list_maint(snac *user, const char *list, int op)
|
||||||
|
|
||||||
fn = xs_replace_i(fn, ".lst", ".idx");
|
fn = xs_replace_i(fn, ".lst", ".idx");
|
||||||
unlink(fn);
|
unlink(fn);
|
||||||
|
|
||||||
|
fn = xs_append(fn, ".bak");
|
||||||
|
unlink(fn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue