Gitweb:
http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=ce83a689553385d6f2ff30854844b25da0bcd6ed
Commit: ce83a689553385d6f2ff30854844b25da0bcd6ed
Parent: 69bd7421486b237e88462e898845015dfd1e0135
Author: David Lutterkort <[email protected]>
AuthorDate: Mon Jun 1 12:43:17 2009 -0700
Committer: David Lutterkort <[email protected]>
CommitterDate: Mon Jun 1 12:43:17 2009 -0700
* src/augtool.c: allow comments starting with '#'
---
src/augtool.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/augtool.c b/src/augtool.c
index c1ac383..cb234ff 100644
--- a/src/augtool.c
+++ b/src/augtool.c
@@ -648,6 +648,8 @@ static int main_loop(void) {
printf("\n");
return ret;
}
+ if (line[0] == '#')
+ continue;
dup_line = strdup(line);
if (dup_line == NULL) {
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel