From 40bc4f35013d43e27f3c32a5228f2b0ad1656abb Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:30:29 -0600 Subject: [PATCH] Update upload.sh: fix exit number --- scripts/upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upload.sh b/scripts/upload.sh index 022e8a434..db680f9e3 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -330,7 +330,7 @@ else # sftp/ftp/ftps # lftp doesn't actually try to open the connection until the first command is executed, # and if it fails the error message isn't always clear. # So, do a simple command first so we get a better error message. - echo "cd . || exit 99" + echo "cd . || exit ${EXIT_ERROR_STOP}" if [[ ${DEBUG} == "true" ]]; then # PWD not supported by all servers,