summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 16dbf38f8..8eec1133d 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -204,8 +204,11 @@ gtkadd($window,
cancel_clicked => sub { ugtk2->exit(0) },
ok_clicked => sub {
Xconfig::various::runlevel($x_mode ? 5 : 3);
- $splash_working or updateAutologin();
- $no_bootsplash or update_bootsplash($combo{boot}->entry->get_text, $splash_mode, $keep_logo);
+ if ($splash_working) {
+ $no_bootsplash or update_bootsplash($combo{boot}->entry->get_text, $splash_mode, $keep_logo);
+ } else {
+ updateAutologin();
+ }
ugtk2->exit(0);
}
},