diff --git a/with_pass.sh b/with_pass.sh index e6448b0..22a951a 100644 --- a/with_pass.sh +++ b/with_pass.sh @@ -4,8 +4,8 @@ if [ ! -z "$PRE_UPLOAD" ]; then echo "👌 Executing pre-upload script..." && sshpass -p ${PASSWORD} ssh ${INPUT_SSH_OPTIONS} ${INPUT_USER}@${INPUT_HOST} "$INPUT_PRE_UPLOAD && exit" && echo "✅ Executed pre-upload script" - } || {  - echo "😢 Something went wrong during pre-upload script" && exit 1  + } || { + echo "😢 Something went wrong during pre-upload script" && exit 1 } fi