aboutsummaryrefslogtreecommitdiffstats
path: root/share/libmsec.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/libmsec.py')
-rw-r--r--share/libmsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/libmsec.py b/share/libmsec.py
index 1e24b02..95ffa19 100644
--- a/share/libmsec.py
+++ b/share/libmsec.py
@@ -433,7 +433,7 @@ def allow_reboot(arg):
cfg.exists() or cfg.symlink(CONSOLE_HELPER)
if not (same_level() and val_sysctlconf == '0'):
sysctlconf.set_shell_variable('kernel.sysrq', 1)
- if not (same_level() and val_gdmconf == 'false'):
+ if not same_level() and val_gdmconf == 'false':
gdmconf.exists() and gdmconf.set_shell_variable('SystemMenu', 'true', '\[greeter\]', '^\s*$')
if not (same_level() and not val_inittab):
inittab.replace_line_matching(CTRALTDEL_REGEXP, 'ca::ctrlaltdel:/sbin/shutdown -t3 -r now', 1)