Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-check-updates
> check_updates-1.7.5-outputfix.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_updates-1.7.5-outputfix.diff of Package nagios-plugins-check-updates
--- check_updates.orig 2019-08-20 09:48:03.000000000 +0200 +++ check_updates 2019-10-03 19:55:26.037974156 +0200 @@ -486,6 +486,9 @@ my $arguments = shift; my $yum_command = shift; + + $ENV{'LANG'} = 'C'; + # per default check updates # --assumeno to avoid a timeout when the GPG key is not present # we need to process STDERR to catch errors (e.g., missing GPG key) @@ -537,8 +540,11 @@ if ( $line =~ /^Last[ ]metadata[ ]expiration/imxs || $line =~ /^Loaded[ ]plugins:/imxs || $line =~ /^Loading[ ]mirror[ ]speeds/imxs + || $line =~ /^Including[ ]mirror:/imxs + || $line =~ /^Excluding[ ]mirror:/imxs || $line =~ /[ ].B\/s[ ][|][ ]/imxs || $line =~ /^No\ security\ updates/imxs + || $line =~ /packages[ ]excluded/imxs || $line =~ /^Security:[ ].*is[ ]an[ ]installed[ ]security[ ]update/imxs || $line =~