summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-08 13:18:21 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-08 13:18:21 +0000
commitcb9eddf62ade56b3bc546b87d72ffc4c57b7618d (patch)
treedb7cb579fc489d5df11b7a17d5885d9433638195 /perl-install/interactive.pm
parent77e8f709f6b7f2c11d5f1d3cca6951792b961021 (diff)
downloaddrakx-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar
drakx-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar.gz
drakx-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar.bz2
drakx-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar.xz
drakx-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.zip
log program exiting
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index b7130fe5b..982f7fe65 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -122,7 +122,14 @@ sub leave_console {}
sub suspend {}
sub resume {}
sub end {}
-sub exit { exit($_[0]) }
+sub exit {
+ if ($::isStandalone) {
+ require standalone;
+ standalone::exit($_[0]);
+ } else {
+ exit($_[0])
+ }
+}
#-######################################################################################
#- Interactive functions