Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Merge requests
!20
add sudo when calling yum
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
add sudo when calling yum
5419-update-check-packages2install
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
5419-update-check-packages2install
into
master
3 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
master
version 1
05b8d8f9
3 years ago
master (base)
and
version 1
latest version
6cd526a7
3 commits,
3 years ago
version 1
05b8d8f9
1 commit,
3 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
check_packages2install-pkgmanager/yum.sh
+
1
−
1
View file @ 05b8d8f9
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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
}
Loading