diff options
author | Norbert Preining <preining@logic.at> | 2016-05-09 01:15:50 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-05-09 01:15:50 +0000 |
commit | ffc3fd2a80c15784f5de2734ba9e48a01e82a9f4 (patch) | |
tree | 6b770247b393c418d19c52f7e57ff42387de49fe /Master/texmf-dist/scripts | |
parent | daa49358a5872652a488cd27881da7814afb0630 (diff) |
tlmgrgui: use exit instead of finish
git-svn-id: svn://tug.org/texlive/trunk@40969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgrgui.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl index 07b82413168..228ad86e2d6 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl @@ -1927,8 +1927,6 @@ sub SelectedPackages { sub critical_updates_done_msg_and_end { # terminate here immediately so that we are sure the auto-updater # is run immediately - # make sure we exit in finish(0) - $::gui_mode = 0; # warn that program will now be terminated $mw->Dialog(-title => __("Warning"), -text => __("Critical updates have been installed.\nProgram will terminate now.\nPlease restart if necessary."), @@ -1936,7 +1934,8 @@ sub critical_updates_done_msg_and_end { # also delete the main window before we kill the process to # make sure that Tk is happy (segfault on cmd line, email Taco) $mw->destroy; - finish(0); + # don't call finish(0) as we need to exit immediately + exit(0); } sub update_all_packages { |