This means that the remote command died at some stage earlier than the
printing of created files.

Signed-off-by: Eli Schwartz <eschwa...@archlinux.org>
---
 offload-build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/offload-build b/offload-build
index dab036d..e607a16 100755
--- a/offload-build
+++ b/offload-build
@@ -116,4 +116,6 @@ if (( ${#files[@]} )); then
     printf '%s\n' '' '-> copying files...'
     load_makepkg_config
     scp "${files[@]/#/$server:}" "${PKGDEST:-${PWD}}/"
+else
+    exit 1
 fi
-- 
2.24.0

Reply via email to