mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
Remove the test path from augeas even if failing
This commit is contained in:
parent
30ad7dce9f
commit
7d51480c4d
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
matches = self.aug.match(
|
||||
"/test//*[self::arg=~regexp('argument', 'i')]")
|
||||
except RuntimeError:
|
||||
self.aug.remove("/test/path")
|
||||
return None
|
||||
self.aug.remove("/test/path")
|
||||
return matches
|
||||
|
|
|
|||
Loading…
Reference in a new issue