diff options
Diffstat (limited to 'Master/texmf-dist')
-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 { |