Skip to content

Instantly share code, notes, and snippets.

@raphink
Created July 9, 2012 21:46
Show Gist options
  • Save raphink/3079207 to your computer and use it in GitHub Desktop.
Save raphink/3079207 to your computer and use it in GitHub Desktop.
irb(main):054:0> aug.match('/files/etc/ssh/sshd_config/Match[count(Condition) == "2"]/Settings/PermitRootLogin')
SystemCallError: unknown error - Matching path expression '/files/etc/ssh/sshd_config/Match[count(Condition) == "2"]/Settings/PermitRootLogin' failed
from (irb):54:in `match'
from (irb):54
from (irb):52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment