]> Sergey Matveev's repositories - public-inbox.git/commit
xapcmd: do not cleanup on errors
authorEric Wong <e@80x24.org>
Thu, 23 May 2019 09:36:47 +0000 (09:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 May 2019 17:43:50 +0000 (17:43 +0000)
commitadbf11e0f16714922b5eddb77d5227301a6d5adf
tree5aa3f49648f07f8b4eefab2adfe3b7d09b1615e9
parentac5a695030be64059fcb1ae826a0f3bfd2ca035b
xapcmd: do not cleanup on errors

We move the old directory into the new directory, so avoid the
situation where a bug or error could cause the tempdir cleanup to run
and destroy both our old and new directories.
lib/PublicInbox/Xapcmd.pm