summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-14 13:27:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-14 13:27:51 +0000
commit5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a (patch)
tree376810fabf645798609c3895ebd996c44413be96 /perl-install
parentd64dbe8941f8d96e44078762b93f0fc332719a3e (diff)
downloaddrakx-5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a.tar
drakx-5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a.tar.gz
drakx-5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a.tar.bz2
drakx-5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a.tar.xz
drakx-5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a.zip
(exit): fix the exit code
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive_gtk.pm2
-rw-r--r--perl-install/interactive_newt.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 6dfd53176..710ca88a3 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -25,7 +25,7 @@ sub resume {}
sub exit {
gtkset_mousecursor_normal(); #- for restoring a normal in any case on standalone
my_gtk::flush();
- c::_exit($_[0]) #- workaround
+ c::_exit($_[1]) #- workaround
}
sub ask_warn {
diff --git a/perl-install/interactive_newt.pm b/perl-install/interactive_newt.pm
index 1c63591b1..1f1f1157f 100644
--- a/perl-install/interactive_newt.pm
+++ b/perl-install/interactive_newt.pm
@@ -28,7 +28,7 @@ sub leave_console { Newt::Resume }
sub suspend { Newt::Suspend }
sub resume { Newt::Resume }
sub end() { Newt::Finished }
-sub exit() { end; exit($_[0]) }
+sub exit() { end; exit($_[1]) }
END { end() }
sub myTextbox {