...G...PS. [ZBX-2196] changed status codes of various exit calls to library macros for consistency