aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-03-02 00:13:53 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-03-02 00:13:53 +0000
commitf9d6dc15063173f0637955a024308ff6bd2541c3 (patch)
tree8c95547442b1c7882c17106de1b360a87253051b
parent263e6cbe81cf3edb42468d35f1b0655b9dc2aaa9 (diff)
downloadmsec-f9d6dc15063173f0637955a024308ff6bd2541c3.tar
msec-f9d6dc15063173f0637955a024308ff6bd2541c3.tar.gz
msec-f9d6dc15063173f0637955a024308ff6bd2541c3.tar.bz2
msec-f9d6dc15063173f0637955a024308ff6bd2541c3.tar.xz
msec-f9d6dc15063173f0637955a024308ff6bd2541c3.zip
- fix #27956
-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)