Comment 4 for bug 2038900

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Oh nevermind, I see it now. FWIW, the "correct" fix for this is to just extend the try/except block that converts uid to int. It should also catch "TypeError", or the getenv call for PKEXEC_UID should have a fallback of '', which would trigger ValueError instead.