]> git.e2factory.org Git - e2factory.git/commitdiff
files: remove elib.abort()
authorTobias Ulmer <tu@emlix.com>
Tue, 16 Apr 2013 12:34:50 +0000 (14:34 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 13:58:55 +0000 (14:58 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/files.lua

index 1adfefe6cbb1679b94c9e6d069868bd81a0d992b..0a7f022b53b0e542b4fda89f61c98dd58e863f14 100644 (file)
@@ -415,8 +415,8 @@ function files.prepare_source(info, sourcename, sourceset, buildpath)
                     return false, e:cat(re)
                 end
             else
-                e2lib.abort(string.format("missing destiny for file %s (%s)",
-                file.location, file.server))
+                return false, err.new("missing destination for file %s (%s)",
+                    file.location, file.server)
             end
         end
     end