diff options
-rw-r--r-- | perl-install/interactive_gtk.pm | 2 | ||||
-rw-r--r-- | perl-install/interactive_newt.pm | 2 |
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 { |