summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-24 12:05:31 +0200
committerdefault <nobody@localhost>2024-05-24 12:05:31 +0200
commitfcead8ea9686d4707f95e9249d955284d22d4ec2 (patch)
tree25fbc847bfc5b28dc491574e7153a7a58af02145 /data.c
parent8cf7559a7e21c5757455b948814d61e6e96f08f1 (diff)
Also delete the list .idx.bak.
Diffstat (limited to 'data.c')
-rw-r--r--data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/data.c b/data.c
index f507078..1866d5e 100644
--- a/data.c
+++ b/data.c
@@ -1831,6 +1831,9 @@ xs_val *list_maint(snac *user, const char *list, int op)
fn = xs_replace_i(fn, ".lst", ".idx");
unlink(fn);
+
+ fn = xs_append(fn, ".bak");
+ unlink(fn);
}
}