diff options
author | ivan <ivan> | 2008-08-26 23:53:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-26 23:53:47 +0000 |
commit | 4f18470292da780c53dcf4885c9227562ee07742 (patch) | |
tree | 807efd7ec68afba2c6c5c3c590f3ae11a7858a19 /FS/FS/Tron.pm | |
parent | baf358bed42ad8459f4124b77febb7d937e761c1 (diff) |
add unchecked vs. ok distinction to lint
Diffstat (limited to 'FS/FS/Tron.pm')
-rw-r--r-- | FS/FS/Tron.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/Tron.pm b/FS/FS/Tron.pm index 33280955e..dcb917e21 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; } |