From 87c8b52eef4f015edb7ce04bc1efc7d2788c1abd Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 3 Aug 2010 12:53:41 +0000 Subject: Properly handling ALLOW_XSERVER_TO_LISTEN=no (#60440) --- src/msec/plugins/msec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/msec/plugins') diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py index 6e63f54..453a233 100644 --- a/src/msec/plugins/msec.py +++ b/src/msec/plugins/msec.py @@ -227,7 +227,7 @@ class msec: if val_startx or val_xservers or val_kdmrc or val_gdmconf != 'false': self.log.info(_('Allowing the X server to listen to tcp connections')) if startx.exists(): - startx.replace_line_matching(STARTX_REGEXP, '@1@2') + startx.replace_line_matching(STARTX_REGEXP, '@1@2', all=1) if xservers.exists(): xservers.replace_line_matching(XSERVERS_REGEXP, '@1@2', 0, 1) if gdmconf.exists(): -- cgit v1.2.1