add missing return in check_sys_un