From 650990eaabf31dab51085fbe1e0e7a19b1e22926 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 6 Dec 2008 12:12:18 +0000 Subject: fix Staszek's tlmgr2 death, we should not try to create 2 times the GUI git-svn-id: svn://tug.org/texlive/trunk@11537 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr2.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Master') diff --git a/Master/texmf/scripts/texlive/tlmgr2.pl b/Master/texmf/scripts/texlive/tlmgr2.pl index 25e4e878b60..4628af0abbb 100755 --- a/Master/texmf/scripts/texlive/tlmgr2.pl +++ b/Master/texmf/scripts/texlive/tlmgr2.pl @@ -1949,6 +1949,9 @@ Error message from creating MainWindow: # be sure that sub actions do *not* finish $::gui_mode = 1; + # also unset the $opt_gui to make recursive calls to action_* not starting + # another GUI instance (or better trying to ...) + $opt_gui = 0; require("tlmgrgui2.pl"); # should not be reached -- cgit v1.2.3