[CentOS] yum check-updates script not working correctly