From 7b83de7d3913a867d0a58340ee8fae9b65c292a0 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Tue, 7 Jun 2022 10:14:40 +0200 Subject: [PATCH] update yum message on no updates --- check_packages2install-pkgmanager/yum.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_packages2install-pkgmanager/yum.sh b/check_packages2install-pkgmanager/yum.sh index 137021e..aaad63f 100644 --- a/check_packages2install-pkgmanager/yum.sh +++ b/check_packages2install-pkgmanager/yum.sh @@ -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 } -- GitLab