packages: nagios-plugin-check_raid/check_raid - trailing tab cleanup

glen glen at pld-linux.org
Wed Sep 9 17:15:07 CEST 2009


Author: glen                         Date: Wed Sep  9 15:15:07 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- trailing tab cleanup

---- Files affected:
packages/nagios-plugin-check_raid:
   check_raid (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.8 packages/nagios-plugin-check_raid/check_raid:1.9
--- packages/nagios-plugin-check_raid/check_raid:1.8	Wed Sep  9 17:14:44 2009
+++ packages/nagios-plugin-check_raid/check_raid	Wed Sep  9 17:15:01 2009
@@ -173,7 +173,7 @@
 		while( $l = <LSVG> ) {
 			@f = split " ",$l;
 			($n,$s) = ($f[0],$f[5]);
-			next if(!valid($n) or !$s);	
+			next if(!valid($n) or !$s);
 			next if( $f[3] eq $f[2] ); # not a mirrored LV
 			if( $s =~ /open\/(\S+)/i ) {
 				$s = $1;
@@ -195,7 +195,7 @@
 	while( $l = <IPS> ) {
 		chomp $l;
 		if( $l =~ /drive number (\d+)/i ) { $n = $1; next; }
-		next if(!valid($n));	
+		next if(!valid($n));
 		if( $l =~ /Status .*: (\S+)\s+(\S+)/ ) {
 			($s,$c) = ($1,$2);
 			if( $c =~ /SYN|RBL/i ) { # resynching
@@ -267,7 +267,7 @@
 	my $CMD = $mpt_status;
 	$CMD = "$sudo $CMD" if $> and $sudo;
 
-	open CMD,"$CMD |" or return;	
+	open CMD,"$CMD |" or return;
 	while ( <CMD> ) {
 		next if(! /vol_id\s*(\d+).*state\s+(\S+),/ );
 		($dsk,$stat) = ($1,$2);
================================================================

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



More information about the pld-cvs-commit mailing list