summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-23 09:21:00 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-23 09:21:00 +0000
commit2ce1adac4ded2955a259b541ffb20e790c18becf (patch)
treef8eb8f206d3ff71320f8a74ab2c293f917e28903
parent26de8f8240c2650fe51ccaf1f15249bbec23b724 (diff)
downloaddrakx-2ce1adac4ded2955a259b541ffb20e790c18becf.tar
drakx-2ce1adac4ded2955a259b541ffb20e790c18becf.tar.gz
drakx-2ce1adac4ded2955a259b541ffb20e790c18becf.tar.bz2
drakx-2ce1adac4ded2955a259b541ffb20e790c18becf.tar.xz
drakx-2ce1adac4ded2955a259b541ffb20e790c18becf.zip
don't try to destroy potentially non-existent wizard window (if some steps are skipped for example)
-rwxr-xr-xperl-install/standalone/finish-install5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index 00a9f893f..85ab006ee 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -95,7 +95,10 @@ call('license');
call('language');
call('keyboard');
call('network');
-$::WizardWindow->destroy; undef $::WizardWindow;
+if (defined $::WizardWindow) {
+ $::WizardWindow->destroy;
+ undef $::WizardWindow;
+}
$::Wizard_pix_up = 'redhat-config-users';
call('authentication');
call('users');