move cache cleanup back to before cache creation
authorJoey Hess <joeyh@joeyh.name>
Tue, 6 Oct 2020 12:46:35 +0000 (08:46 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 6 Oct 2020 12:46:35 +0000 (08:46 -0400)
commitd479a885de6bb4f926d5e1b99419a8449cd687a3
treec66768f8d9613698037854ef7292188b9b07fe5e
parent224623e72ebe9067d452ab5655c29f1a702b9eee
move cache cleanup back to before cache creation

It was moved to avoid a race, but that's now avoided in another way.
I prefer having it here, because this way if it somehow fails and
deletes the locpath that is going to be used, at least it will get
re-created.
standalone/linux/skel/runshell