From d1465b464aff2f2b6d20fd9be6a005aaee0b0cd1 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 9 Jan 2013 19:50:40 -0800 Subject: [PATCH] check_afs_quotas: Return to only checking quota for RW volumes After Michael Meffie's fix, we can restore the behavior of not checking quota on RO and BK volumes, where the concept isn't really meaningful. --- check_afs_quotas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_afs_quotas b/check_afs_quotas index 943455d..5e6dd09 100755 --- a/check_afs_quotas +++ b/check_afs_quotas @@ -103,7 +103,7 @@ sub serverinfo { my ($volume, %results); local $_; while () { - if (/^(\S+)\s+\d+ (?:RW|RO|BK)\s+(\d+) K\s+On-line\s*$/) { + if (/^(\S+)\s+\d+ RW\s+(\d+) K\s+On-line\s*$/) { $volume = $1; $results{$volume}{size} = $2; } elsif (/^\s+MaxQuota\s+(\d+) K\s*$/) { -- 2.39.5