diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-19 12:20:27 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-19 12:20:27 +0200 |
commit | 81f3b4165146eedd2da60afc5677ec44a0db9829 (patch) | |
tree | 5387e43d19e023365b55b975abb2b1959d6b20fc /plugins/check_apt.c | |
parent | 07f9c438f31de7a280e43c4196a32d200ad41fbe (diff) | |
download | monitoring-plugins-81f3b41.tar.gz |
Fix fallout of the previous changes
Diffstat (limited to 'plugins/check_apt.c')
-rw-r--r-- | plugins/check_apt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c index 290c88ed..5c0f6e28 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c | |||
@@ -252,7 +252,7 @@ int process_arguments (int argc, char **argv) { | |||
252 | 252 | ||
253 | /* run an apt-get upgrade */ | 253 | /* run an apt-get upgrade */ |
254 | int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkglist){ | 254 | int run_upgrade(int *pkgcount, int *secpkgcount, char ***pkglist, char ***secpkglist){ |
255 | int i=0, result=STATE_UNKNOWN, regres=0, pc=0, spc=0; | 255 | int result=STATE_UNKNOWN, regres=0, pc=0, spc=0; |
256 | struct output chld_out, chld_err; | 256 | struct output chld_out, chld_err; |
257 | regex_t ireg, ereg, sreg; | 257 | regex_t ireg, ereg, sreg; |
258 | char *cmdline=NULL, rerrbuf[64]; | 258 | char *cmdline=NULL, rerrbuf[64]; |