diff options
-rw-r--r-- | sos/report/plugins/pacemaker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/report/plugins/pacemaker.py b/sos/report/plugins/pacemaker.py index 7294c35a..8beec811 100644 --- a/sos/report/plugins/pacemaker.py +++ b/sos/report/plugins/pacemaker.py @@ -55,14 +55,14 @@ class Pacemaker(Plugin): def postproc_crm_shell(self): self.do_cmd_output_sub( "crm configure show", - r"passw(\S*)=\S+", + r"passw([^\s=]*)=\S+", r"passw\1=********" ) def postproc_pcs(self): self.do_cmd_output_sub( "pcs config", - r"passw(\S*)=\S+", + r"passw([^\s=]*)=\S+", r"passw\1=********" ) |