summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2011-04-20 23:35:44 +0000
committerAnssi Hannula <anssi@mandriva.org>2011-04-20 23:35:44 +0000
commitb85eb8487010483d9783946ec6fd596c981dda1c (patch)
treec9fdfe9600acdf8dbdd61e1e5ce4aedbfce5e793 /perl-install/standalone/service_harddrake
parentda623019db4ba41def0d2b765dc549542d8c01a5 (diff)
downloaddrakx-backup-do-not-use-b85eb8487010483d9783946ec6fd596c981dda1c.tar
drakx-backup-do-not-use-b85eb8487010483d9783946ec6fd596c981dda1c.tar.gz
drakx-backup-do-not-use-b85eb8487010483d9783946ec6fd596c981dda1c.tar.bz2
drakx-backup-do-not-use-b85eb8487010483d9783946ec6fd596c981dda1c.tar.xz
drakx-backup-do-not-use-b85eb8487010483d9783946ec6fd596c981dda1c.zip
service_harddrake: remove unneeded test
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index a31a9de49..51635aecb 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -423,7 +423,7 @@ if (!$reboot_needed && text2bool($cfg{HANDLE_KMS_BOOT_CONFIG})) {
# incorrect driver is loaded, X.org can't start (e.g. proprietary driver loaded while free driver in use,
# or free driver loaded while vesa is configured).
$reboot_needed |= Xconfig::various::setup_kms();
- } elsif (!$reboot_needed && -e "/dev/.late_kms") {
+ } elsif (-e "/dev/.late_kms") {
# initrd didn't load the KMS driver; non-fatal but ugly, fix it for next boot
unlink("/dev/.late_kms");
Xconfig::various::setup_kms();