packages: nagios-plugin-check_bacula_log/fixes.patch - part2
glen
glen at pld-linux.org
Thu Jan 14 16:59:14 CET 2010
Author: glen Date: Thu Jan 14 15:59:14 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- part2
---- Files affected:
packages/nagios-plugin-check_bacula_log:
fixes.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_bacula_log/fixes.patch
diff -u packages/nagios-plugin-check_bacula_log/fixes.patch:1.1 packages/nagios-plugin-check_bacula_log/fixes.patch:1.2
--- packages/nagios-plugin-check_bacula_log/fixes.patch:1.1 Thu Jan 14 16:57:35 2010
+++ packages/nagios-plugin-check_bacula_log/fixes.patch Thu Jan 14 16:59:09 2010
@@ -1,4 +1,4 @@
---- nagios-plugin-check_bacula_log-0.3/check_bacula 2010-01-14 17:55:52.776266774 +0200
+--- nagios-plugin-check_bacula_log-0.3/check_bacula 2010-01-14 17:58:19.552917792 +0200
+++ nagios-plugin-check_bacula_log-0.3/check_bacula 2010-01-14 17:48:22.206310890 +0200
@@ -16,19 +16,19 @@
# GNU General Public License for more details.
@@ -24,7 +24,17 @@
sub print_help ();
sub print_usage ();
-@@ -113,13 +113,13 @@
+@@ -39,8 +39,7 @@
+ my ( $line, $prevline, $stat, $state ,$date, $msg, $status, $skip, $minbackups, $totalbackups, $okbackups, $failedbackups);
+
+ $stat="";
+-$date=`/bin/date +'%d-%b-%Y'`;
+-chomp($date);
++$date = strftime("%d-%b-%Y", localtime);
+
+ $totalbackups = 0;
+ $okbackups = 0;
+@@ -114,13 +113,13 @@
if($failedbackups > 0){
$state = $ERRORS{'WARNING'};
@@ -40,7 +50,7 @@
}
-@@ -136,7 +136,7 @@
+@@ -137,7 +136,7 @@
}
sub print_help () {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_bacula_log/fixes.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list