packages: nagios-plugin-check_raid/check_raid - fix use strict. patch by He...

glen glen at pld-linux.org
Wed Dec 7 14:28:23 CET 2011


Author: glen                         Date: Wed Dec  7 13:28:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix use strict. patch by Henk Jan Agteresch <henkjan#bit.nl>

---- Files affected:
packages/nagios-plugin-check_raid:
   check_raid (1.100 -> 1.101) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.100 packages/nagios-plugin-check_raid/check_raid:1.101
--- packages/nagios-plugin-check_raid/check_raid:1.100	Mon Oct 31 13:40:58 2011
+++ packages/nagios-plugin-check_raid/check_raid	Wed Dec  7 14:28:18 2011
@@ -268,7 +268,7 @@
 	unshift(@CMD, $sudo) if $> and $sudo;
 
 	open(my $fh , '-|', @CMD) or return;
-	my (@status, @devs, %cur);
+	my (@status, @devs, @vols, %cur);
 	while (<$fh>) {
 		if (my($s) = /Device Id: (\S+)/) {
 			push(@devs, { %cur }) if %cur;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid?r1=1.100&r2=1.101&f=u



More information about the pld-cvs-commit mailing list