die quickly upon mkdir failure
We just had this failure in our CI system that's currently running just
three PAM-wrapped tests in parallel. Since this is a classic TOCTOU race
(albeit in a test code, and therefore with little to no security
implications), the mkdir
can fail, and when that happens it's much
better to just die quickly rather than continuing as if nothing
happened.
Signed-off-by: Jan Kundrát jan.kundrat@cesnet.cz