From f5806adff881d4de9828bfb267d6995c79566d7a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 22 Feb 2019 23:28:13 +0000 Subject: (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 --- Master/tlpkg/TeXLive/TLPDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Master/tlpkg/TeXLive/TLPDB.pm') 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"); } -- cgit v1.2.3