summaryrefslogtreecommitdiffstats
path: root/jjb/infra
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-01-24 10:56:20 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-24 10:56:20 +0000
commitc2eac4583d767f7052bfad996b35105edd49ee46 (patch)
treeea61f85b55b229f277243d66b1021fd2326631db /jjb/infra
parentaa51cedd14432be1bc9a9f6e97ca2abc077ba23f (diff)
parent586a5cf54400c439f29df9e213a5ababa5d112c3 (diff)
Merge "jjb: infra: bifrost-verify.sh: Replace 'exit' with 'return'"
Diffstat (limited to 'jjb/infra')
-rwxr-xr-xjjb/infra/bifrost-verify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/infra/bifrost-verify.sh b/jjb/infra/bifrost-verify.sh
index dbe39762c..48f916e72 100755
--- a/jjb/infra/bifrost-verify.sh
+++ b/jjb/infra/bifrost-verify.sh
@@ -24,7 +24,7 @@ function upload_logs() {
gsutil -q cp -Z ${WORKSPACE}/build_log.txt ${BIFROST_GS_URL}/build_log.txt
rm ${WORKSPACE}/build_log.txt
- [[ ! -d ${WORKSPACE}/logs ]] && exit 0
+ [[ ! -d ${WORKSPACE}/logs ]] && return 0
pushd ${WORKSPACE}/logs/ &> /dev/null
for x in *.log; do