diff options
-rw-r--r-- | sos/plugins/grub.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/grub.py b/sos/plugins/grub.py index 33b9f7a8..926439f6 100644 --- a/sos/plugins/grub.py +++ b/sos/plugins/grub.py @@ -33,8 +33,8 @@ class Grub(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def postproc(self): self.do_path_regex_sub( r".*\/grub.conf", - r"(password)\s(--md5)\s(.*)", - r"\1 \2 ********" + r"(password\s*)(--md5\s*|\s*)(.*)", + r"\1\2********" ) # vim: et ts=4 sw=4 |