From 69cee5e1ce4b20f6ebb6af77e19d49706a842a3e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 29 Apr 2017 16:02:06 +0000 Subject: fix long outstanding bug in tlmgr path that returned wrong return codes git-svn-id: svn://tug.org/texlive/trunk@44114 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index abd4eb9167e..114e553fc50 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1926,9 +1926,9 @@ sub add_remove_symlinks { # we collected errors in $errors, so return the negation of it if ($errors) { info("$mode of symlinks had $errors error(s), see messages above.\n"); - return 0; + return $F_ERROR; } else { - return 1; + return $F_OK; } } -- cgit v1.2.3