[augeas-devel] [PATCH 1/3] Sshd: rename lens 'match' since that is now a keyword

David Lutterkort lutter at redhat.com
Sat Feb 21 07:52:22 UTC 2009


---
 lenses/sshd.aug |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lenses/sshd.aug b/lenses/sshd.aug
index 8659dfa..e0dc666 100644
--- a/lenses/sshd.aug
+++ b/lenses/sshd.aug
@@ -115,14 +115,14 @@ module Sshd =
    let match_entry = 
      ( comment | (Util.indent . other_entry) )
 
-   let match =
+   let match_block =
      [ key "Match" . match_cond
         . [ label "Settings" .  match_entry+ ]
      ]
 
   let lns = (comment | accept_env | allow_groups | allow_users
           | deny_groups | subsystem | deny_users | macs 
-          | other_entry ) * . match*
+          | other_entry ) * . match_block*
 
   let xfm = transform lns (incl "/etc/ssh/sshd_config")
 
-- 
1.6.0.6




More information about the augeas-devel mailing list