summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_newt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive_newt.pm')
-rw-r--r--perl-install/interactive_newt.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive_newt.pm b/perl-install/interactive_newt.pm
index 729453c60..5094efe13 100644
--- a/perl-install/interactive_newt.pm
+++ b/perl-install/interactive_newt.pm
@@ -20,10 +20,12 @@ sub new() {
Newt::changeColors;
Newt::Cls;
Newt::SetSuspendCallback;
+ open STDERR,">/dev/null";
bless {}, $_[0];
}
sub end() { Newt::Finished }
+sub exit() { end; exit($_[0]) }
END { end() }
sub myTextbox {