[PATCH v3 9/9] util: Don't use errno after a successful call in __daemon()