[latex3-commits] [l3svn] 03/03: l3build: Tighten up a bit on errorlevel return

noreply at latex-project.org noreply at latex-project.org
Wed Sep 23 23:22:05 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 2e7e6e6dbcbf39962ce363afa6bc142ccee16616
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Sep 23 22:21:44 2015 +0100

    l3build: Tighten up a bit on errorlevel return
---
 l3build/l3build.lua |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index e8fffc1..43953c6 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -1707,7 +1707,11 @@ function stdmain(target, files)
       help()
     end
   end
-  os.exit(errorlevel)
+  if errorlevel ~= 0 then 
+    os.exit(1)
+  else
+    os.exit(0)
+  end
 end
 
 -- Allow main function to be disabled 'higher up'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list