diff options
author | Norbert Preining <preining@logic.at> | 2017-04-15 00:15:00 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2017-04-15 00:15:00 +0000 |
commit | 6f48a88885c56fe42de328250752b40b2fe334f6 (patch) | |
tree | dc09dc021b54ed0ea5d77f81fbb36c60f0a63cae /Master/texmf-dist | |
parent | 60b42ef1e1d7036f8dfe08a7e66f824c26a659fb (diff) |
more fixes
git-svn-id: svn://tug.org/texlive/trunk@43803 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index dfb6811ebfa..e10e0854aa3 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -6609,9 +6609,12 @@ sub action_shell { } else { $val = do_prompt('Enter 1 for on, 0 for off:', -guarantee => [0,1]); } + # deal with Ctrl-D + if (!defined($val)) { + print('ERROR Missing value for set.\n'); + next; + } } - # deal with Ctrl-D - next if (!defined($val)); if ($key eq "repository") { if ($cmd eq "set") { |