aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/msec/plugins/msec.py2
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():