diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2010-08-03 12:53:41 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2010-08-03 12:53:41 +0000 |
commit | 87c8b52eef4f015edb7ce04bc1efc7d2788c1abd (patch) | |
tree | 14ec56158a1a9780fb7901264b0e0a04253a465c /src | |
parent | 1c082e98e9742da558b3e3827b2aa45a860cf043 (diff) | |
download | msec-87c8b52eef4f015edb7ce04bc1efc7d2788c1abd.tar msec-87c8b52eef4f015edb7ce04bc1efc7d2788c1abd.tar.gz msec-87c8b52eef4f015edb7ce04bc1efc7d2788c1abd.tar.bz2 msec-87c8b52eef4f015edb7ce04bc1efc7d2788c1abd.tar.xz msec-87c8b52eef4f015edb7ce04bc1efc7d2788c1abd.zip |
Properly handling ALLOW_XSERVER_TO_LISTEN=no (#60440)
Diffstat (limited to 'src')
-rw-r--r-- | src/msec/plugins/msec.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |