summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-22 23:28:13 +0000
committerKarl Berry <karl@freefriends.org>2019-02-22 23:28:13 +0000
commitf5806adff881d4de9828bfb267d6995c79566d7a (patch)
treebfb4e1c7ffff5ffff16daf6d7288709998bc1286 /Master
parent5cc1c85d80e70df467e29e86bef84754d917a09e (diff)
(save): do not check return value of
TLUtils::copy, it does not return anything (instead, it dies on critical failure). https://github.com/yihui/tinytex/issues/77#issuecomment-466471937 git-svn-id: svn://tug.org/texlive/trunk@50091 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index f7a76b9461d..a18bdfe2a81 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -627,7 +627,7 @@ sub save {
# on Windows the renaming sometimes fails, try to copy and unlink the
# .tmp file. This we do for all archs, cannot hurt.
# if we managed that one, we move it over
- TeXLive::TLUtils::copy ("-f", $tmppath, $path) or die ("copy $tmppath to $path failed: $!");
+ TeXLive::TLUtils::copy ("-f", $tmppath, $path);
unlink ($tmppath) or tlwarn ("TLPDB: cannot unlink $tmppath: $!\n");
}