From 92d3d111b6357c8f8e6725095e0ad505b7768706 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Mon, 29 Jul 2002 07:36:14 +0000 Subject: fixed typo in allow_root_login --- share/libmsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/libmsec.py b/share/libmsec.py index b947235..f95e1c7 100644 --- a/share/libmsec.py +++ b/share/libmsec.py @@ -420,7 +420,7 @@ def allow_root_login(arg): if not (_same_level and not val[s]): securetty.replace_line_matching(s, s, 1) else: - if (kde.exists() and not val_kde) or (gdm.exists() and not val_gdm) or (xdm.exists() and not val_xdm) or num > 0: + if (kde.exists() and not val[kde]) or (gdm.exists() and not val[gdm]) or (xdm.exists() and not val[xdm]) or num > 0: _interactive and log(_('Forbidding direct root login')) bastillenologin = ConfigFile.get_config_file(BASTILLENOLOGIN) -- cgit v1.2.1