spec/integration/platforms/centos6/setup.sh in rundock-0.5.3 vs spec/integration/platforms/centos6/setup.sh in rundock-0.5.4

- old
+ new

@@ -23,20 +23,20 @@ RUNDOCK_SCENARIO_CACHE_DIR="${RUNDOCK_CACHE_DIR}/scenarios" RUNDOCK_GROUP_CACHE_DIR="${RUNDOCK_CACHE_DIR}/groups" RUNDOCK_TARGET_CACHE_DIR="${RUNDOCK_CACHE_DIR}/targets" if [ "${1}x" = "--cleanx" ];then + set +e rm -f ${RUNDOCK_DEFAULT_SSH_YML} rm -f ${RUNDOCK_SCENARIO_CACHE_DIR}/*.yml rm -f ${RUNDOCK_GROUP_CACHE_DIR}/*.yml rm -f ${RUNDOCK_TARGET_CACHE_DIR}/*.yml if sudo docker ps | grep "${DOCKER_IMAGE_NAME}" > /dev/null; then rm -f ${DOCKER_CACHE_IMAGE_PATH} rm -f ${DOCKER_SSH_KEY_PRIVATE} rm -f ${DOCKER_SSH_KEY_PUBLIC_LOCAL} rm -f ${DOCKER_SSH_CONFIG} rm -f ${DOCKER_SSH_KEY_PUBLIC_REMOTE} - set +x sudo docker ps -q | xargs sudo docker rm -f fi exit 0 fi