Skip to content

Commit

Permalink
Update upload.sh: fix exit number
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Jan 6, 2025
1 parent 05c4e3f commit 40bc4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 40bc4f3

Please sign in to comment.