Unverified Commit 8edad226 authored by Eli Schwartz's avatar Eli Schwartz Committed by Levente Polyak
Browse files

offload-build: return failure if no package files were found

This means that the remote command died at some stage earlier than the
printing of created files.
Signed-off-by: default avatarEli Schwartz <eschwartz@archlinux.org>
parent f2043564
......@@ -116,4 +116,6 @@ if (( ${#files[@]} )); then
printf '%s\n' '' '-> copying files...'
scp "${files[@]/#/$server:}" "${PKGDEST:-${PWD}}/"
exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment