diff options
author | Norbert Preining <preining@logic.at> | 2022-03-05 06:11:14 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2022-03-05 06:11:14 +0000 |
commit | 4f49461bce9f5bde20102e990796c5f5e598a13e (patch) | |
tree | 059b5972c5c0a544bb8f83cb024726955a0b9b1a /Master/install-tl | |
parent | 242c92c9ea6c826d8ff6ff91445b039d0b6dfbd2 (diff) |
don't use die in signal handler
git-svn-id: svn://tug.org/texlive/trunk@62429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl index 0e52e611a97..73c1a525d98 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -2538,8 +2538,10 @@ sub update_numbers { # signal handler for interrupts SIGINT AND SIGTERM sub signal_handler { + my ($sig) = @_; flushlog(); - die "Installation interrupted $!"; + print "Caught SIG$sig -- shutting down\n"; + exit(1); } # to be called at exit when the installation did not complete |