From fe46536c96213a9f98dbd1b6d5b2edadba9c490e Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sat, 5 Oct 2013 12:27:15 +0200 Subject: [PATCH] Ignore YAML document seperator --- pws | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pws b/pws index 83ab6bb..5ff3c68 100755 --- a/pws +++ b/pws @@ -306,7 +306,7 @@ class GroupConfig users.split("\n").each do |line| lno = lno+1 next if line =~ /^$/ - next if line =~ /^#/ + next if line =~ /^(#|---)/ if (m = /^(#{USER_PATTERN})\s*=\s*([0-9A-Fa-f]{40})\s*$/.match line) user = m[1] fpr = m[2] -- 2.39.5