Skip to content
Snippets Groups Projects
Commit 480af9af authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch '5419-update-check-packages2install' into 'master'

update yum message on no updates

See merge request !22
parents 31930d24 7b83de7d
No related branches found
No related tags found
1 merge request!22update yum message on no updates
......@@ -38,7 +38,7 @@ function yum.getPackageList(){
# get custom status
function yum.getStatusLine(){
if ! sudo /usr/bin/yum --bugfix check-update 2>&1 | grep security; then
echo "Ooops - no output from [sudo /usr/bin/yum --bugfix check-update]"
echo "No packages need to be updated and no security updates."
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment