summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts
diff options
context:
space:
mode:
authordkhandel <dkhandel@localhost.localdomain>2018-06-19 10:16:29 +0530
committerdkhandel <dkhandel@localhost.localdomain>2018-06-19 10:16:29 +0530
commitb3d647ca628e484bafc9b7bdd573d0dd99f101fc (patch)
treecacd1460b3fed8ad88a880283dec0860fe7cb178 /build-gluster-org/scripts
parent561ed8834a8e97ed6bf1f125701ce5d0fd1c19f1 (diff)
Exit with proper return code
Change-Id: If45140a66488377004d75a63974f7f5f3f58883d
Diffstat (limited to 'build-gluster-org/scripts')
-rw-r--r--build-gluster-org/scripts/distributed-regression.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/distributed-regression.sh b/build-gluster-org/scripts/distributed-regression.sh
index cd13743..a25c127 100644
--- a/build-gluster-org/scripts/distributed-regression.sh
+++ b/build-gluster-org/scripts/distributed-regression.sh
@@ -34,4 +34,7 @@ if [ $ret -eq 0 ]; then
# if test runs are successful, delete all the machines
/opt/qa/distributed-tests/rackspace-server-manager.py delete
+ exit 0
+else
+ exit $ret
fi