We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cfca8c + b88fad6 commit b76286cCopy full SHA for b76286c
1 file changed
agents/plugins/yum
@@ -97,7 +97,8 @@ then
97
fi
98
UPDATES=$(waitmax 25 /usr/bin/yum -C --noplugins --quiet list updates | grep "\." | cut -d' ' -f1 | wc -l || echo "-1")
99
# check if --security is available
100
- waitmax 10 /usr/bin/yum -C --noplugins --quiet --security list updates > /dev/null 2>&1
+ # Updated the timeout for the initial security list validation because it takes longer than 10 seconds on many machines
101
+ waitmax 25 /usr/bin/yum -C --noplugins --quiet --security list updates > /dev/null 2>&1
102
if [ $? -eq 0 ]
103
then
104
SECURITY_UPDATES=$(waitmax 25 /usr/bin/yum -C --noplugins --quiet --security list updates | grep "\." | cut -d' ' -f1 | wc -l || echo "-1")
0 commit comments