[SSSD] [PATCH] monitor: return right error code