From: Tobias Ulmer Date: Thu, 15 Nov 2012 13:42:20 +0000 (+0100) Subject: fix broken error handling in transport.push_file() X-Git-Tag: e2factory-2.3.13rc1~91 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=ed520905119cf2e442b63d5763006e5152a85572;p=e2factory.git fix broken error handling in transport.push_file() Signed-off-by: Tobias Ulmer --- diff --git a/generic/transport.lua b/generic/transport.lua index 6dc90f7..bd238d6 100644 --- a/generic/transport.lua +++ b/generic/transport.lua @@ -242,7 +242,7 @@ function transport.push_file(sourcefile, durl, location, push_permissions, try_h durl = string.format("%s/%s", durl, location) local u, re = url.parse(durl) if not u then - return e:cat(re) + return false, e:cat(re) end if u.transport == "file" then local destdir = string.format("/%s", e2lib.dirname(u.path))