aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/libvirt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py
index bb4ef657..55d8bb16 100644
--- a/sos/plugins/libvirt.py
+++ b/sos/plugins/libvirt.py
@@ -30,7 +30,7 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
def postproc(self):
for xmlfile in glob.glob("/etc/libvirt/qemu/*.xml"):
self.do_file_sub(xmlfile,
- r"(\s*passwd=\s*')([^']*)('.*$)",
+ r"(\s*passwd=\s*')([^']*)('.*)",
r"\1******\3")
# vim: et ts=4 sw=4