Fix new shellcheck errors caught by latest version
[integration/packaging.git] / docker / openstack / compute / start.sh
index f8a15e6c34ac690bf69aa70f53cc6ff1d384f962..9341a40d92256000aac849b90f37dcf4f48421d8 100755 (executable)
@@ -30,7 +30,7 @@ ip=`/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1`
 #sudo service openvswitch-switch start
 
 # set the correct branch in devstack
-cd $DEVSTACK_HOME
+cd $DEVSTACK_HOME || exit
 git fetch
 git checkout -b ${BRANCH_NAME} -t ${TAG_NAME}