diff --git a/check_packages2install-pkgmanager/yum.sh b/check_packages2install-pkgmanager/yum.sh index 6e557c647af38016ee029ff71affbe97373e72dc..735f8e093e735b2134796ac9b5a179886130120d 100644 --- a/check_packages2install-pkgmanager/yum.sh +++ b/check_packages2install-pkgmanager/yum.sh @@ -35,7 +35,7 @@ function yumPackages(){ # --------------------------------------------------------------- # get custom status function yumStatus(){ - if ! /usr/bin/yum --bugfix check-update 2>&1 | grep security; then + if ! sudo /usr/bin/yum --bugfix check-update 2>&1 | grep security; then echo "Ooops - no output from [/usr/bin/yum --bugfix check-update]" fi }