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

update yum message on no updates

parent 6540458b
Branches
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