summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-12-15 16:26:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-12-15 16:26:59 +0000
commitfcd0457fc6dcb2a51c384af73920fefd58946f94 (patch)
tree3fdd0f0eeed12c1e56f5414abe32e7afc8a309a1 /perl-install/any.pm
parent9b77010c4ff36db450f0218a6198ec5fe7dc2179 (diff)
downloaddrakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar
drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar.gz
drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar.bz2
drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.tar.xz
drakx-fcd0457fc6dcb2a51c384af73920fefd58946f94.zip
(acceptLicense) in standalone mode, when license is rejected, just reboot
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 596c16516..05424c9a5 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -734,6 +734,8 @@ sub acceptLicense {
},
[ { list => [ N_("Accept"), N_("Refuse") ], val => \$r, type => 'list', format => sub { translate($_[0]) } } ])
or do {
+ # when refusing license in finish-install:
+ exec("/sbin/reboot") if !$::isInstall;
if ($::globetrotter) {
run_program::run('killall', 'Xorg');
exec("/sbin/reboot");