summaryrefslogtreecommitdiff
path: root/FS/FS/Tron.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-08-26 23:53:47 +0000
committerivan <ivan>2008-08-26 23:53:47 +0000
commit4f18470292da780c53dcf4885c9227562ee07742 (patch)
tree807efd7ec68afba2c6c5c3c590f3ae11a7858a19 /FS/FS/Tron.pm
parentbaf358bed42ad8459f4124b77febb7d937e761c1 (diff)
add unchecked vs. ok distinction to lint
Diffstat (limited to 'FS/FS/Tron.pm')
-rw-r--r--FS/FS/Tron.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/Tron.pm b/FS/FS/Tron.pm
index 3328095..dcb917e 100644
--- a/FS/FS/Tron.pm
+++ b/FS/FS/Tron.pm
@@ -53,6 +53,7 @@ sub tron_scan {
$hash{$option} = $value;
}
close READER;
+ close WRITER;
unless ( keys %hash ) {
return "error scanning $machine\n";
@@ -86,6 +87,8 @@ sub tron_lint {
push @lint, "$option is $current" unless $current =~ $desired{$option};
}
+ push @lint, 'unchecked' unless scalar($cust_svc->options);
+
@lint;
}