runshell: fix some mess left in a race
authorJoey Hess <joeyh@joeyh.name>
Mon, 5 Oct 2020 17:42:43 +0000 (13:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 5 Oct 2020 17:42:43 +0000 (13:42 -0400)
commit5863d14fd2aa941d53b4480b9191f8f8e438d96a
tree48a513a3b0dcd7e7739e4a080ac5c9f7e60e0960
parente0ca1236ee908b1626971f4bfb07770d175b3f29
runshell: fix some mess left in a race

This seems to be the best way to deal with the race; if the first and
second runshell are running very close together, the first will generate
the locale directory, and a second test -d would still leave a race
window.
standalone/linux/skel/runshell