packages: nagios-plugin-check_raid/check_raid - sort results by controller ...
glen
glen at pld-linux.org
Fri Oct 16 21:02:57 CEST 2009
Author: glen Date: Fri Oct 16 19:02:58 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- sort results by controller number
---- Files affected:
packages/nagios-plugin-check_raid:
check_raid (1.58 -> 1.59)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_raid/check_raid
diff -u packages/nagios-plugin-check_raid/check_raid:1.58 packages/nagios-plugin-check_raid/check_raid:1.59
--- packages/nagios-plugin-check_raid/check_raid:1.58 Fri Oct 16 15:34:51 2009
+++ packages/nagios-plugin-check_raid/check_raid Fri Oct 16 21:02:50 2009
@@ -864,7 +864,8 @@
}
$modem->close();
- while (my($c, $s) = each %c) {
+ foreach $c (sort { $a cmp $b } keys %c) {
+ my $s = $c{$c};
$s = join(', ', @$s);
$s = 'OK' unless $s;
push(@status, "$c: $s");
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid?r1=1.58&r2=1.59&f=u
More information about the pld-cvs-commit
mailing list