Only attempt to change euid if necessary