Hi,
sssd.conf supports also comments that begin with ';'.
From 8247d7a9568c55f11e0a726aa1f7d5ac053126f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <[email protected]>
Date: Thu, 17 Apr 2014 13:18:19 +0200
Subject: [PATCH] sssd.aug: support ; comments

sssd.conf supports also comments that begin with ';'
---
 lenses/sssd.aug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lenses/sssd.aug b/lenses/sssd.aug
index 49f5e073f33665782095c246d7df60868d8a3ba5..de7f062923cbab5b71d389295abb87c89d5ceff1 100644
--- a/lenses/sssd.aug
+++ b/lenses/sssd.aug
@@ -14,7 +14,7 @@ About: Configuration files
 module Sssd =
   autoload xfm
 
-let comment  = IniFile.comment "#" "#"
+let comment  = IniFile.comment /[;#]/ "#"
 
 let sep      = IniFile.sep "=" "="
 
-- 
1.7.11.7

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to