[Pkg-nagios-changes] [pkg-nagios] r1820 - nagios-plugins/trunk/debian/patches

Jan Wagner waja at alioth.debian.org
Sat Jan 23 12:17:44 UTC 2010


Author: waja
Date: 2010-01-23 12:17:43 +0000 (Sat, 23 Jan 2010)
New Revision: 1820

Removed:
   nagios-plugins/trunk/debian/patches/01_check_apt_return_unknown.dpatch
Log:
added patch accidential

Deleted: nagios-plugins/trunk/debian/patches/01_check_apt_return_unknown.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/01_check_apt_return_unknown.dpatch	2010-01-23 12:15:09 UTC (rev 1819)
+++ nagios-plugins/trunk/debian/patches/01_check_apt_return_unknown.dpatch	2010-01-23 12:17:43 UTC (rev 1820)
@@ -1,17 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_check_apt_return_unknown.dpatch by Jan Wagner <waja at cyconet.org>
-##
-## DP: Return UNKNOWN, if we don't know what happens (#498812)
-
- at DPATCH@
---- nagios-plugins-1.4.14~/plugins/check_apt.c	2009-10-16 00:20:03.000000000 +0200
-+++ nagios-plugins-1.4.14/plugins/check_apt.c	2009-10-16 00:20:38.000000000 +0200
-@@ -291,7 +291,7 @@
- 	/* If we get anything on stderr, at least set warning */
- 	if(chld_err.buflen){
- 		stderr_warning=1;
--		result = max_state(result, STATE_WARNING);
-+		result = max_state_alt(result, STATE_UNKNOWN);
- 		if(verbose){
- 			for(i = 0; i < chld_err.lines; i++) {
- 				fprintf(stderr, "%s\n", chld_err.line[i]);




More information about the Pkg-nagios-changes mailing list