texlive[44114] Master/tlpkg/TeXLive/TLUtils.pm: fix long outstanding

commits+preining at tug.org commits+preining at tug.org
Sat Apr 29 18:02:07 CEST 2017


Revision: 44114
          http://tug.org/svn/texlive?view=revision&revision=44114
Author:   preining
Date:     2017-04-29 18:02:06 +0200 (Sat, 29 Apr 2017)
Log Message:
-----------
fix long outstanding bug in tlmgr path that returned wrong return codes

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLUtils.pm

Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm	2017-04-29 05:38:32 UTC (rev 44113)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm	2017-04-29 16:02:06 UTC (rev 44114)
@@ -1926,9 +1926,9 @@
   # 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;
   }
 }
 



More information about the tex-live-commits mailing list