X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=script%2Fpublic-inbox-edit;h=2e2c761620e154da65a395f6d9c6a12a756cb14f;hb=3fd2143efc1c96f0000af2ae7a6dee0990337fc4;hp=16d785294f49bcb79a62620af2a5548437ba508c;hpb=8388a137ac3b13edaa361a7fb6c85fea3c409ea8;p=public-inbox.git diff --git a/script/public-inbox-edit b/script/public-inbox-edit index 16d78529..2e2c7616 100755 --- a/script/public-inbox-edit +++ b/script/public-inbox-edit @@ -121,7 +121,7 @@ $mids my $tmpl = 'public-inbox-edit-XXXXXX'; foreach my $to_edit (values %$found) { - my ($edit_fh, $edit_fn) = tempfile($tmpl, TMPDIR => 1); + my ($edit_fh, $edit_fn) = tempfile($tmpl, TMPDIR => 1, UNLINK => 1); $edit_fh->autoflush(1); my ($ibx, $smsg) = @{$to_edit->[0]}; my $old_raw = $ibx->msg_by_smsg($smsg);