From 5c6cc975ce1918edf4c99ca9b0f7c10ad8ba184a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 14 Apr 2001 13:27:51 +0000 Subject: (exit): fix the exit code --- perl-install/interactive_gtk.pm | 2 +- perl-install/interactive_newt.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') 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 { -- cgit v1.2.1