summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-04-29 16:02:06 +0000
committerNorbert Preining <preining@logic.at>2017-04-29 16:02:06 +0000
commit69cee5e1ce4b20f6ebb6af77e19d49706a842a3e (patch)
treec8dab2e44efe2be9b303a5f7797f1d9502e4e925 /Master/tlpkg/TeXLive
parent7089d01586353a8506a1eb6d6a9d9eac4024f9a0 (diff)
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
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm4
1 files 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;
}
}