]> git.e2factory.org Git - e2factory.git/commitdiff
Bugfix: exit when a mandatory tool is not available
authorGordon Hecker <gh@emlix.com>
Tue, 15 Sep 2009 12:06:47 +0000 (14:06 +0200)
committerGordon Hecker <gh@emlix.com>
Fri, 2 Oct 2009 10:40:07 +0000 (12:40 +0200)
Signed-off-by: Gordon Hecker <gh@emlix.com>
generic/e2lib.lua

index fde43561d6be780e7fd30dd3cf7a8ec3eb289380..3b3de4c675e3c1b3583735837d7deefec1be7330 100644 (file)
@@ -199,7 +199,7 @@ function e2lib.init2()
   -- initialize the transport library after resetting tools
   local rc, re = transport.init()
   if not rc then
-    e:cat(re)
+    e2lib.abort(e:cat(re))
   end
 
   -- get host system architecture